ArrayCountryModel.fromJson constructor
ArrayCountryModel.fromJson(
- dynamic json
Implementation
ArrayCountryModel.fromJson(dynamic json) {
if (json['list'] != null) {
list = [];
json['list'].forEach((v) {
list?.add(CountryModel.fromJson(v));
});
}
}