mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-30 07:20:11 +08:00
@@ -6,8 +6,8 @@ class Category {
|
||||
Category({this.id, this.parentId, this.name});
|
||||
|
||||
factory Category.fromJson(Map<String, dynamic> json) => Category(
|
||||
id: json['id'] as int?,
|
||||
parentId: json['parent_id'] as int?,
|
||||
name: json['name'] as String?,
|
||||
);
|
||||
id: json['id'] as int?,
|
||||
parentId: json['parent_id'] as int?,
|
||||
name: json['name'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user