You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
408 B
19 lines
408 B
4 years ago
|
class PickBuildingModel {
|
||
|
int value;
|
||
|
String label;
|
||
|
|
||
|
PickBuildingModel({this.value, this.label});
|
||
|
|
||
|
PickBuildingModel.fromJson(Map<String, dynamic> json) {
|
||
|
value = json['value'];
|
||
|
label = json['label'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||
|
data['value'] = this.value;
|
||
|
data['label'] = this.label;
|
||
|
return data;
|
||
|
}
|
||
|
}
|