copyWith method
UpdateChatDraftMessage
copyWith({
- int? chatId,
- DraftMessage? draftMessage,
- List<
ChatPosition> ? positions,
Implementation
UpdateChatDraftMessage copyWith({
int? chatId,
DraftMessage? draftMessage,
List<ChatPosition>? positions,
}) => UpdateChatDraftMessage(
chatId: chatId ?? this.chatId,
draftMessage: draftMessage ?? this.draftMessage,
positions: positions ?? this.positions,
);