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
541 B
Dart
22 lines
541 B
Dart
class PrivilegeListModel {
|
|
int? iD;
|
|
String? serviceName;
|
|
bool? previlege;
|
|
|
|
PrivilegeListModel({this.iD, this.serviceName, this.previlege});
|
|
|
|
PrivilegeListModel.fromJson(Map<String, dynamic> json) {
|
|
iD = json['ID'];
|
|
serviceName = json['ServiceName'];
|
|
previlege = json['Previlege'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['ID'] = this.iD;
|
|
data['ServiceName'] = this.serviceName;
|
|
data['Previlege'] = this.previlege;
|
|
return data;
|
|
}
|
|
}
|