copyWith method

InviteGroupCallParticipants copyWith({
  1. int? groupCallId,
  2. List<int>? userIds,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

InviteGroupCallParticipants copyWith({
  int? groupCallId,
  List<int>? userIds,
}) =>
    InviteGroupCallParticipants(
      groupCallId: groupCallId ?? this.groupCallId,
      userIds: userIds ?? this.userIds,
    );