copyWith method
DecryptGroupCallData
copyWith({
- int? groupCallId,
- MessageSender? participantId,
- GroupCallDataChannel? dataChannel()?,
- String? data,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
DecryptGroupCallData copyWith({
int? groupCallId,
MessageSender? participantId,
GroupCallDataChannel? Function()? dataChannel,
String? data,
}) => DecryptGroupCallData(
groupCallId: groupCallId ?? this.groupCallId,
participantId: participantId ?? this.participantId,
dataChannel: dataChannel != null ? dataChannel() : this.dataChannel,
data: data ?? this.data,
);