UserCountry.fromJson constructor
UserCountry.fromJson(
- String data
dart:convert
Parses the string and returns the resulting Json object as UserCountry.
Implementation
factory UserCountry.fromJson(String data) {
return UserCountry.fromMap(json.decode(data) as Map<String, dynamic>);
}