Country.fromMap constructor

Country.fromMap(
  1. Map<String, String> map
)

Implementation

factory Country.fromMap(Map<String, String> map) => Country(
    name: map['name']!,
    isoCode: map['isoCode']!,
    iso3Code: map['iso3Code']!,
    phoneCode: map['phoneCode']!,
    tw: map['tw']!,
    zh: map['zh']!);