copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateChatVideoChat copyWith({
int? chatId,
VideoChat? videoChat,
dynamic extra,
int? clientId,
}) =>
UpdateChatVideoChat(
chatId: chatId ?? this.chatId,
videoChat: videoChat ?? this.videoChat,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);