mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-25 18:48:43 +00:00
reduce fullscreen sc duration
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -39,4 +39,32 @@ class SuperChatItem {
|
||||
message: json['message'],
|
||||
userInfo: UserInfo.fromJson(json['user_info'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
SuperChatItem copyWith({
|
||||
int? id,
|
||||
int? uid,
|
||||
int? price,
|
||||
String? backgroundColor,
|
||||
String? backgroundBottomColor,
|
||||
String? backgroundPriceColor,
|
||||
String? messageFontColor,
|
||||
int? endTime,
|
||||
String? message,
|
||||
UserInfo? userInfo,
|
||||
bool? expired,
|
||||
}) {
|
||||
return SuperChatItem(
|
||||
id: id ?? this.id,
|
||||
uid: uid ?? this.uid,
|
||||
price: price ?? this.price,
|
||||
backgroundColor: backgroundColor ?? this.backgroundColor,
|
||||
backgroundBottomColor:
|
||||
backgroundBottomColor ?? this.backgroundBottomColor,
|
||||
backgroundPriceColor: backgroundPriceColor ?? this.backgroundPriceColor,
|
||||
messageFontColor: messageFontColor ?? this.messageFontColor,
|
||||
endTime: endTime ?? this.endTime,
|
||||
message: message ?? this.message,
|
||||
userInfo: userInfo ?? this.userInfo,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user