mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
15
lib/models_new/bubble/content.dart
Normal file
15
lib/models_new/bubble/content.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
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(),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user