copyWith method

ToggleMessageSenderIsBlocked copyWith({
  1. MessageSender? senderId,
  2. bool? isBlocked,
})

Implementation

ToggleMessageSenderIsBlocked copyWith({
  MessageSender? senderId,
  bool? isBlocked,
}) => ToggleMessageSenderIsBlocked(
  senderId: senderId ?? this.senderId,
  isBlocked: isBlocked ?? this.isBlocked,
);