CountryData.fromJson constructor

CountryData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CountryData.fromJson(Map<String, dynamic> json) => CountryData(
      name: json["name"],
      dialCode: json["dial_code"],
      code: json["code"],
    );