copyWith method

  1. @override
UpdateGroupCallParticipants copyWith({
  1. int? groupCallId,
  2. List<int>? participantUserIds,
  3. dynamic extra,
  4. int? clientId,
})
override

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