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

16 lines
405 B
Dart

import 'package:PiliPlus/models_new/bubble/dyn_list.dart';
class Content {
String? count;
List<DynList>? dynList;
Content({this.count, this.dynList});
factory Content.fromJson(Map<String, dynamic> json) => Content(
count: json['count'] as String?,
dynList: (json['dyn_list'] as List<dynamic>?)
?.map((e) => DynList.fromJson(e as Map<String, dynamic>))
.toList(),
);
}