mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
22 lines
444 B
Dart
22 lines
444 B
Dart
import 'package:PiliPlus/models_new/bubble/meta.dart';
|
|
|
|
class DynList {
|
|
String? dynId;
|
|
String? title;
|
|
Meta? meta;
|
|
|
|
DynList({
|
|
this.dynId,
|
|
this.title,
|
|
this.meta,
|
|
});
|
|
|
|
factory DynList.fromJson(Map<String, dynamic> json) => DynList(
|
|
dynId: json['dyn_id'] as String?,
|
|
title: json['title'] as String?,
|
|
meta: json['meta'] == null
|
|
? null
|
|
: Meta.fromJson(json['meta'] as Map<String, dynamic>),
|
|
);
|
|
}
|