Siopas Inventory PETI for ISTW Mobile
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.
|
class UserRoleModel { |
|
int? id; |
|
String? name; |
|
|
|
UserRoleModel({ |
|
this.id, |
|
this.name, |
|
}); |
|
|
|
UserRoleModel.fromJson(Map<String, dynamic> json) { |
|
id = json['id']; |
|
name = json['name'] != null ? json['name'] : null; |
|
} |
|
|
|
Map<String, dynamic> toJson() { |
|
return { |
|
'id': id, |
|
'name': name, |
|
}; |
|
} |
|
}
|
|
|