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.
16 lines
346 B
16 lines
346 B
2 weeks ago
|
class Role {
|
||
|
String? id;
|
||
|
String? name;
|
||
|
dynamic desc;
|
||
|
|
||
|
Role({this.id, this.name, this.desc});
|
||
|
|
||
|
factory Role.fromJson(Map<String, dynamic> json) => Role(
|
||
|
id: json['id'] as String?,
|
||
|
name: json['name'] as String?,
|
||
|
desc: json['desc'] as dynamic,
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> toJson() => {'id': id, 'name': name, 'desc': desc};
|
||
|
}
|