Country.fromJson constructor

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

Implementation

factory Country.fromJson(Map<String, dynamic> json) {
  return Country(
    countryCode: json['countryCode'] as String?,
    countryName: json['countryName'] as String?,
  );
}