copyWith method
MessageReaction
copyWith({
- ReactionType? type,
- int? totalCount,
- bool? isChosen,
- List<
MessageSender> ? recentSenderIds,
Implementation
MessageReaction copyWith({
ReactionType? type,
int? totalCount,
bool? isChosen,
List<MessageSender>? recentSenderIds,
}) =>
MessageReaction(
type: type ?? this.type,
totalCount: totalCount ?? this.totalCount,
isChosen: isChosen ?? this.isChosen,
recentSenderIds: recentSenderIds ?? this.recentSenderIds,
);