CountryExt extension
An extension on a list of CountriesModel to provide additional functionalities.
- on
Methods
-
filter(
String v) → List< CountriesModel> -
Available on List<
Filters the list of CountriesModel based on a search valueCountriesModel> , provided by the CountryExt extensionv. -
getCountry(
String dialCode) → CountriesModel -
Available on List<
Retrieves a CountriesModel by itsCountriesModel> , provided by the CountryExt extensiondialCode. -
getCountryFromCode(
String countryCode) → CountriesModel? -
Available on List<
Retrieves a CountriesModel by itsCountriesModel> , provided by the CountryExt extensioncountryCode.