You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemm-flutter-app/lib/models/profile/get_countries_list_model.dart

19 lines
501 B
Dart

class GetCountriesListModel {
String? cOUNTRYCODE;
String? cOUNTRYNAME;
GetCountriesListModel({this.cOUNTRYCODE, this.cOUNTRYNAME});
GetCountriesListModel.fromJson(Map<String, dynamic> json) {
cOUNTRYCODE = json['COUNTRY_CODE'];
cOUNTRYNAME = json['COUNTRY_NAME'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['COUNTRY_CODE'] = this.cOUNTRYCODE;
data['COUNTRY_NAME'] = this.cOUNTRYNAME;
return data;
}
}