copyWith method
Implementation
SecretChat copyWith({
int? id,
int? userId,
SecretChatState? state,
bool? isOutbound,
String? keyHash,
int? layer,
dynamic extra,
int? clientId,
}) => SecretChat(
id: id ?? this.id,
userId: userId ?? this.userId,
state: state ?? this.state,
isOutbound: isOutbound ?? this.isOutbound,
keyHash: keyHash ?? this.keyHash,
layer: layer ?? this.layer,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);