copyWith method

  1. @override
UpdateSecretChat copyWith({
  1. SecretChat? secretChat,
  2. dynamic extra,
  3. int? clientId,
})
override

Implementation

@override
UpdateSecretChat copyWith({
  SecretChat? secretChat,
  dynamic extra,
  int? clientId,
}) =>
    UpdateSecretChat(
      secretChat: secretChat ?? this.secretChat,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );