ComponentsServiceSearchAllReq constructor

ComponentsServiceSearchAllReq({
  1. BOOL_FILTER? isActive,
  2. Int64? count,
  3. Int64? offset,
  4. SORT_ORDER? sortOrder,
  5. INVENTORY_SORT_KEY? sortKey,
  6. String? entityUuid,
  7. INVENTORY_LIFECYCLE? status,
  8. String? searchKey,
  9. Int64? parentRefId,
  10. COMPONENT_REF_FROM? refFrom,
  11. Int64? refId,
  12. Int64? familyId,
  13. Int64? secondaryUomId,
  14. Int64? storeId,
  15. Int64? storageId,
  16. BOOL_FILTER? isQcReportPublic,
  17. Int64? locationId,
})

Implementation

factory ComponentsServiceSearchAllReq({
  $1.BOOL_FILTER? isActive,
  $fixnum.Int64? count,
  $fixnum.Int64? offset,
  $1.SORT_ORDER? sortOrder,
  $1.INVENTORY_SORT_KEY? sortKey,
  $core.String? entityUuid,
  $1.INVENTORY_LIFECYCLE? status,
  $core.String? searchKey,
  $fixnum.Int64? parentRefId,
  COMPONENT_REF_FROM? refFrom,
  $fixnum.Int64? refId,
  $fixnum.Int64? familyId,
  $fixnum.Int64? secondaryUomId,
  $fixnum.Int64? storeId,
  $fixnum.Int64? storageId,
  $1.BOOL_FILTER? isQcReportPublic,
  $fixnum.Int64? locationId,
}) {
  final result = create();
  if (isActive != null) result.isActive = isActive;
  if (count != null) result.count = count;
  if (offset != null) result.offset = offset;
  if (sortOrder != null) result.sortOrder = sortOrder;
  if (sortKey != null) result.sortKey = sortKey;
  if (entityUuid != null) result.entityUuid = entityUuid;
  if (status != null) result.status = status;
  if (searchKey != null) result.searchKey = searchKey;
  if (parentRefId != null) result.parentRefId = parentRefId;
  if (refFrom != null) result.refFrom = refFrom;
  if (refId != null) result.refId = refId;
  if (familyId != null) result.familyId = familyId;
  if (secondaryUomId != null) result.secondaryUomId = secondaryUomId;
  if (storeId != null) result.storeId = storeId;
  if (storageId != null) result.storageId = storageId;
  if (isQcReportPublic != null) result.isQcReportPublic = isQcReportPublic;
  if (locationId != null) result.locationId = locationId;
  return result;
}