copyWith method
AvailableReactions
copyWith({
- List<
AvailableReaction> ? topReactions, - List<
AvailableReaction> ? recentReactions, - List<
AvailableReaction> ? popularReactions, - bool? allowCustomEmoji,
- dynamic extra,
- int? clientId,
Implementation
AvailableReactions copyWith({
List<AvailableReaction>? topReactions,
List<AvailableReaction>? recentReactions,
List<AvailableReaction>? popularReactions,
bool? allowCustomEmoji,
dynamic extra,
int? clientId,
}) =>
AvailableReactions(
topReactions: topReactions ?? this.topReactions,
recentReactions: recentReactions ?? this.recentReactions,
popularReactions: popularReactions ?? this.popularReactions,
allowCustomEmoji: allowCustomEmoji ?? this.allowCustomEmoji,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);