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.
19 lines
420 B
Dart
19 lines
420 B
Dart
|
6 years ago
|
class Controls {
|
||
|
|
String code;
|
||
|
|
String controlValue;
|
||
|
|
|
||
|
|
Controls({this.code, this.controlValue});
|
||
|
|
|
||
|
|
Controls.fromJson(Map<String, dynamic> json) {
|
||
|
|
code = json['Code'];
|
||
|
|
controlValue = json['ControlValue'];
|
||
|
|
}
|
||
|
|
|
||
|
|
Map<String, dynamic> toJson() {
|
||
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||
|
|
data['Code'] = this.code;
|
||
|
|
data['ControlValue'] = this.controlValue;
|
||
|
|
return data;
|
||
|
|
}
|
||
|
|
}
|