copyWith method

ChatAvailableReactionsSome copyWith({
  1. List<ReactionType>? reactions,
  2. int? maxReactionCount,
})

Implementation

ChatAvailableReactionsSome copyWith({
  List<ReactionType>? reactions,
  int? maxReactionCount,
}) => ChatAvailableReactionsSome(
  reactions: reactions ?? this.reactions,
  maxReactionCount: maxReactionCount ?? this.maxReactionCount,
);