copyWith method
Implementation
@override
UpdateNewChat copyWith({
  Chat? chat,
  dynamic extra,
  int? clientId,
}) => UpdateNewChat(
  chat: chat ?? this.chat,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);@override
UpdateNewChat copyWith({
  Chat? chat,
  dynamic extra,
  int? clientId,
}) => UpdateNewChat(
  chat: chat ?? this.chat,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);