copyWith method
CKCall
copyWith(
{ - String? uuid,
- String? localizedName,
- DateTime? dateStarted,
- DateTime? dateUpdated,
- Set<CallAttributes>? attributes,
- Set<CallKitCapability>? capabilities,
- CallType? callType,
- CallState? state,
- 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,
);
}