copyWith method

  1. @override
UpdateChatMessageSender copyWith({
  1. int? chatId,
  2. MessageSender? messageSenderId,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateChatMessageSender copyWith({
  int? chatId,
  MessageSender? messageSenderId,
  dynamic extra,
  int? clientId,
}) =>
    UpdateChatMessageSender(
      chatId: chatId ?? this.chatId,
      messageSenderId: messageSenderId ?? this.messageSenderId,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );