Country class
Constructors
-
Country({String? name, List<String>? topLevelDomain, String? alpha2Code, String? alpha3Code, List<String>? callingCodes, String? capital, List<String>? altSpellings, String? subregion, String? region, int? population, List<int>? latlng, String? demonym, int? area, List<String>? timezones, List<String>? borders, String? nativeName, String? numericCode, Flags? flags, List<Currency>? currencies, List<Language>? languages, Translations? translations, String? flag, List<RegionalBloc>? regionalBlocs, String? cioc, bool? independent, List<String>? cities})
-
-
Country.fromJson(Map<String, dynamic> json)
-
factory
-
Country.fromRawJson(String str)
-
factory
Methods
-
copyWith({String? name, List<String>? topLevelDomain, String? alpha2Code, String? alpha3Code, List<String>? callingCodes, String? capital, List<String>? altSpellings, String? subregion, String? region, int? population, List<int>? latlng, String? demonym, int? area, List<String>? timezones, List<String>? borders, String? nativeName, String? numericCode, Flags? flags, List<Currency>? currencies, List<Language>? languages, Translations? translations, String? flag, List<RegionalBloc>? regionalBlocs, String? cioc, bool? independent, List<String>? cities})
→ Country
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
-
toRawJson()
→ String
-
-
toString()
→ String
-
A string representation of this object.
inherited