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.
22 lines
579 B
Dart
22 lines
579 B
Dart
class GetAllCitiesResponseModel {
|
|
int iD;
|
|
String description;
|
|
String descriptionN;
|
|
|
|
GetAllCitiesResponseModel({this.iD, this.description, this.descriptionN});
|
|
|
|
GetAllCitiesResponseModel.fromJson(Map<String, dynamic> json) {
|
|
iD = json['ID'];
|
|
description = json['Description'];
|
|
descriptionN = json['DescriptionN'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['ID'] = this.iD;
|
|
data['Description'] = this.description;
|
|
data['DescriptionN'] = this.descriptionN;
|
|
return data;
|
|
}
|
|
}
|