mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +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 LikeInfoV3 {
|
||||
int? totalLikes;
|
||||
bool? clickBlock;
|
||||
@@ -50,8 +52,8 @@ class LikeInfoV3 {
|
||||
guildEmoText: json['guild_emo_text'] as String?,
|
||||
guildDmText: json['guild_dm_text'] as String?,
|
||||
likeDmText: json['like_dm_text'] as String?,
|
||||
handIcons: (json['hand_icons'] as List?)?.cast(),
|
||||
dmIcons: (json['dm_icons'] as List?)?.cast(),
|
||||
handIcons: (json['hand_icons'] as List?)?.fromCast(),
|
||||
dmIcons: (json['dm_icons'] as List?)?.fromCast(),
|
||||
eggshellsIcon: json['eggshells_icon'] as String?,
|
||||
countShowTime: json['count_show_time'] as int?,
|
||||
processIcon: json['process_icon'] as String?,
|
||||
@@ -62,7 +64,7 @@ class LikeInfoV3 {
|
||||
icon: json['icon'] as String?,
|
||||
cooldown: (json['cooldown'] as num?)?.toDouble(),
|
||||
handUseFace: json['hand_use_face'] as bool?,
|
||||
guideIconUrls: (json['guide_icon_urls'] as List?)?.cast(),
|
||||
guideIconUrls: (json['guide_icon_urls'] as List?)?.fromCast(),
|
||||
guideIconRatio: (json['guide_icon_ratio'] as num?)?.toDouble(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user