mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 15:25:47 +08:00
tweaks (#1142)
* opt: unused layout * mod: semantics * opt: DanmakuMsg type * opt: avoid cast * opt: unnecessary_lambdas * opt: use isEven * opt: logger * opt: invalid common page * tweak * opt: unify DynController
This commit is contained in:
committed by
GitHub
parent
56ffc2781f
commit
5f8313901b
@@ -1,3 +1,5 @@
|
||||
import 'package:PiliPlus/utils/extension.dart';
|
||||
|
||||
class Section {
|
||||
int? sectionId;
|
||||
int? seasonId;
|
||||
@@ -24,6 +26,6 @@ class Section {
|
||||
watchPlatform: json['watch_platform'] as int?,
|
||||
copyright: json['copyright'] as String?,
|
||||
banAreaShow: json['ban_area_show'] as int?,
|
||||
episodeIds: (json['episode_ids'] as List?)?.cast(),
|
||||
episodeIds: (json['episode_ids'] as List?)?.fromCast(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user