copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
SetChatAvailableReactions copyWith({
int? chatId,
ChatAvailableReactions? availableReactions,
}) =>
SetChatAvailableReactions(
chatId: chatId ?? this.chatId,
availableReactions: availableReactions ?? this.availableReactions,
);