mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-01 23:59:50 +08:00
@@ -10,11 +10,8 @@ class CardLiveItem {
|
||||
String? _systemCover;
|
||||
String? get systemCover => _systemCover ?? cover;
|
||||
String? title;
|
||||
int? liveTime;
|
||||
String? areaName;
|
||||
int? areaV2Id;
|
||||
String? areaV2Name;
|
||||
String? areaV2ParentName;
|
||||
int? areaV2ParentId;
|
||||
WatchedShow? watchedShow;
|
||||
|
||||
@@ -26,11 +23,8 @@ class CardLiveItem {
|
||||
this.cover,
|
||||
String? systemCover,
|
||||
this.title,
|
||||
this.liveTime,
|
||||
this.areaName,
|
||||
this.areaV2Id,
|
||||
this.areaV2Name,
|
||||
this.areaV2ParentName,
|
||||
this.areaV2ParentId,
|
||||
this.watchedShow,
|
||||
}) : _systemCover = noneNullOrEmptyString(systemCover);
|
||||
@@ -43,11 +37,8 @@ class CardLiveItem {
|
||||
cover: json['cover'] as String?,
|
||||
systemCover: json['system_cover'],
|
||||
title: json['title'] as String?,
|
||||
liveTime: json['live_time'] as int?,
|
||||
areaName: json['area_name'] as String?,
|
||||
areaV2Id: json['area_v2_id'] as int?,
|
||||
areaV2Name: json['area_v2_name'] as String?,
|
||||
areaV2ParentName: json['area_v2_parent_name'] as String?,
|
||||
areaV2ParentId: json['area_v2_parent_id'] as int?,
|
||||
watchedShow: json['watched_show'] == null
|
||||
? null
|
||||
|
||||
Reference in New Issue
Block a user