copyWith method

AddedReaction copyWith({
  1. ReactionType? type,
  2. MessageSender? senderId,
  3. int? date,
})

Implementation

AddedReaction copyWith({
  ReactionType? type,
  MessageSender? senderId,
  int? date,
}) =>
    AddedReaction(
      type: type ?? this.type,
      senderId: senderId ?? this.senderId,
      date: date ?? this.date,
    );