Files
PiliPlus/lib/models_new/bubble/category.dart
dom 222c9d01a0 bubble page
Signed-off-by: dom <githubaccount56556@proton.me>
2026-04-09 21:32:07 +08:00

14 lines
378 B
Dart

import 'package:PiliPlus/models_new/bubble/category_list.dart';
class Category {
List<CategoryList>? categoryList;
Category({this.categoryList});
factory Category.fromJson(Map<String, dynamic> json) => Category(
categoryList: (json['category_list'] as List<dynamic>?)
?.map((e) => CategoryList.fromJson(e as Map<String, dynamic>))
.toList(),
);
}