copyWith method

UnreadReaction copyWith({
  1. ReactionType? type,
  2. MessageSender? senderId,
  3. bool? isBig,
})

Implementation

UnreadReaction copyWith({
  ReactionType? type,
  MessageSender? senderId,
  bool? isBig,
}) => UnreadReaction(
  type: type ?? this.type,
  senderId: senderId ?? this.senderId,
  isBig: isBig ?? this.isBig,
);