copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
BlockMessageSenderFromReplies copyWith({
int? messageId,
bool? deleteMessage,
bool? deleteAllMessages,
bool? reportSpam,
}) =>
BlockMessageSenderFromReplies(
messageId: messageId ?? this.messageId,
deleteMessage: deleteMessage ?? this.deleteMessage,
deleteAllMessages: deleteAllMessages ?? this.deleteAllMessages,
reportSpam: reportSpam ?? this.reportSpam,
);