copyWith method

CKCall copyWith({
  1. String? uuid,
  2. String? localizedName,
  3. DateTime? dateStarted,
  4. DateTime? dateUpdated,
  5. Set<CallAttributes>? attributes,
  6. Set<CallKitCapability>? capabilities,
  7. CallType? callType,
  8. CallState? state,
  9. Map<String, dynamic>? data,
})

Implementation

CKCall copyWith({
  String? uuid,
  String? localizedName,
  DateTime? dateStarted,
  DateTime? dateUpdated,
  Set<CallAttributes>? attributes,
  Set<CallKitCapability>? capabilities,
  CallType? callType,
  CallState? state,
  Map<String, dynamic>? data,
}) {
  return CKCall._internal(
    uuid: uuid ?? this.uuid,
    localizedName: localizedName ?? this.localizedName,
    dateStarted: dateStarted ?? this.dateStarted,
    dateUpdated: dateUpdated ?? this.dateUpdated,
    attributes: attributes ?? this.attributes,
    callType: callType ?? this.callType,
    state: state ?? this.state,
    data: data ?? this.data,
    capabilities: capabilities ?? this.capabilities,
  );
}