my reqirement to get id and triptitle seprately

and my code looklike


in above figure id.triptile in dart file i have to get seprately id and title
solution:


now, i will get only country name

Refrence:https://stackoverflow.com/questions/59763793/flutter-remove-string-after-certain-character