mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
16 lines
405 B
Dart
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(),
|
|
);
|
|
}
|