first commit
This commit is contained in:
24
lib/model/cabapility_model.dart
Normal file
24
lib/model/cabapility_model.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
class CapabilityProfileModel {
|
||||
String? key;
|
||||
String? vendor;
|
||||
String? model;
|
||||
String? description;
|
||||
|
||||
CapabilityProfileModel({this.key, this.vendor, this.model, this.description});
|
||||
|
||||
CapabilityProfileModel.fromJson(Map<String, dynamic> json) {
|
||||
key = json['key'];
|
||||
vendor = json['vendor'];
|
||||
model = json['model'];
|
||||
description = json['description'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['key'] = this.key;
|
||||
data['vendor'] = this.vendor;
|
||||
data['model'] = this.model;
|
||||
data['description'] = this.description;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user