mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +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,5 +1,6 @@
|
||||
import 'package:PiliPlus/models_new/article/article_info/share_channel.dart';
|
||||
import 'package:PiliPlus/models_new/article/article_info/stats.dart';
|
||||
import 'package:PiliPlus/utils/extension.dart';
|
||||
|
||||
class ArticleInfoData {
|
||||
int? like;
|
||||
@@ -66,8 +67,8 @@ class ArticleInfoData {
|
||||
mid: json['mid'] as int?,
|
||||
authorName: json['author_name'] as String?,
|
||||
isAuthor: json['is_author'] as bool?,
|
||||
imageUrls: (json['image_urls'] as List?)?.cast(),
|
||||
originImageUrls: (json['origin_image_urls'] as List?)?.cast(),
|
||||
imageUrls: (json['image_urls'] as List?)?.fromCast(),
|
||||
originImageUrls: (json['origin_image_urls'] as List?)?.fromCast(),
|
||||
shareable: json['shareable'] as bool?,
|
||||
showLaterWatch: json['show_later_watch'] as bool?,
|
||||
showSmallWindow: json['show_small_window'] as bool?,
|
||||
|
||||
Reference in New Issue
Block a user