copyWith method

BulkEditShareableEntityRequest copyWith({
  1. BulkEditShareableEntityRequestAction? action,
  2. BulkChangeOwnerDetails? changeOwnerDetails,
  3. List<int>? entityIds,
  4. bool? extendAdminPermissions,
  5. PermissionDetails? permissionDetails,
})

Implementation

BulkEditShareableEntityRequest copyWith(
    {BulkEditShareableEntityRequestAction? action,
    BulkChangeOwnerDetails? changeOwnerDetails,
    List<int>? entityIds,
    bool? extendAdminPermissions,
    PermissionDetails? permissionDetails}) {
  return BulkEditShareableEntityRequest(
    action: action ?? this.action,
    changeOwnerDetails: changeOwnerDetails ?? this.changeOwnerDetails,
    entityIds: entityIds ?? this.entityIds,
    extendAdminPermissions:
        extendAdminPermissions ?? this.extendAdminPermissions,
    permissionDetails: permissionDetails ?? this.permissionDetails,
  );
}