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'],
      currencyCode: map['currencyCode'],
      currencyName: map['currencyName'],
    );