countriesDataFromJson function

CountriesData countriesDataFromJson(
  1. String str
)

id : "1" name : "Afghanistan"

Implementation

CountriesData countriesDataFromJson(String str) => CountriesData.fromJson(json.decode(str));