copyWith method
ChatEventAvailableReactionsChanged
copyWith({
- ChatAvailableReactions? oldAvailableReactions,
- ChatAvailableReactions? newAvailableReactions,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
ChatEventAvailableReactionsChanged copyWith({
ChatAvailableReactions? oldAvailableReactions,
ChatAvailableReactions? newAvailableReactions,
}) => ChatEventAvailableReactionsChanged(
oldAvailableReactions: oldAvailableReactions ?? this.oldAvailableReactions,
newAvailableReactions: newAvailableReactions ?? this.newAvailableReactions,
);