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