copyWith method

ChatCallKitCall copyWith({
  1. String? callId,
  2. String? remoteUserAccount,
  3. String? remoteCallDevId,
  4. ChatCallKitCallType? callType,
  5. bool? isCaller,
  6. int? agoraUid,
  7. String? channel,
  8. Map<String, String>? ext,
})

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,
  );
}