copyWith method
Implementation
DraftMessage copyWith({
int? replyToMessageId,
int? date,
InputMessageContent? inputMessageText,
}) => DraftMessage(
replyToMessageId: replyToMessageId ?? this.replyToMessageId,
date: date ?? this.date,
inputMessageText: inputMessageText ?? this.inputMessageText,
);