copyWith method
Implementation
ChatCallKitCall copyWith({
String? callId,
String? remoteUserAccount,
String? remoteCallDevId,
ChatCallKitCallType? callType,
bool? isCaller,
int? agoraUid,
String? channel,
Map<String, String>? ext,
}) {
return ChatCallKitCall(
callId: callId ?? this.callId,
remoteUserAccount: remoteUserAccount ?? this.remoteUserAccount,
remoteCallDevId: remoteCallDevId ?? this.remoteCallDevId,
callType: callType ?? this.callType,
isCaller: isCaller ?? this.isCaller,
agoraUid: agoraUid ?? this.agoraUid,
allUserAccounts: allUserAccounts,
channel: channel ?? this.channel,
ext: ext ?? this.ext,
);
}