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