mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 14:25:55 +08:00
19 lines
388 B
Dart
19 lines
388 B
Dart
class PopularSeriesConfig {
|
|
String? name;
|
|
String? label;
|
|
int? mediaId;
|
|
|
|
PopularSeriesConfig({
|
|
this.name,
|
|
this.label,
|
|
this.mediaId,
|
|
});
|
|
|
|
factory PopularSeriesConfig.fromJson(Map<String, dynamic> json) =>
|
|
PopularSeriesConfig(
|
|
name: json['name'] as String?,
|
|
label: json['label'] as String?,
|
|
mediaId: json['media_id'] as int?,
|
|
);
|
|
}
|