Instance of a Country model by country code #67
Answered
by
Daniel-Ioannou
FilipKvestak
asked this question in
Q&A
-
is it possible to get Country object by passing country code? e.g. after picking a country, i have some data like country code, and name. |
Beta Was this translation helpful? Give feedback.
Answered by
Daniel-Ioannou
Jul 2, 2021
Replies: 1 comment
-
@FilipKvestak To get instance of a Country use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Daniel-Ioannou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@FilipKvestak To get instance of a Country use
CountryParser.parse('US')
orCountryParser.tryParse('US')
. For more information and more methods, please check the documentation.