copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateGroupCallParticipants copyWith({
int? groupCallId,
List<int>? participantUserIds,
dynamic extra,
int? clientId,
}) => UpdateGroupCallParticipants(
groupCallId: groupCallId ?? this.groupCallId,
participantUserIds: participantUserIds ?? this.participantUserIds,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);