copyWith method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountSerial copyWith({
  1. String? physicalInventoryId,
  2. String? inventoryId,
  3. String? inventoryType,
  4. String? category,
  5. String? iCode,
  6. String? description,
  7. String? aisleLocation,
  8. String? shelfLocation,
  9. String? categoryId,
  10. double? categoryOrderBy,
  11. int? inventoryTypeOrderBy,
  12. String? inventoryTypeId,
  13. String? unitId,
  14. String? unit,
  15. String? currentSpaceId,
  16. String? currentSpace,
  17. String? consignorId,
  18. String? consignor,
  19. String? auditNote,
  20. String? recordTitle,
  21. dynamic urlIdentifier,
  22. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  23. List<FwStandardDataFwCustomValue>? custom,
  24. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  25. FwStandardBusinessLogicFwBusinessLogic? original,
  26. List<FwStandardDataFwTranslatedValue>? translation,
  27. bool? hasImport,
  28. bool? hasDocuments,
  29. String? createdByUserId,
  30. String? createdByUserName,
  31. String? createdDateTime,
  32. String? modifiedByUserId,
  33. String? modifiedByUserName,
  34. String? modifiedDateTime,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountSerial copyWith({
  String? physicalInventoryId,
  String? inventoryId,
  String? inventoryType,
  String? category,
  String? iCode,
  String? description,
  String? aisleLocation,
  String? shelfLocation,
  String? categoryId,
  double? categoryOrderBy,
  int? inventoryTypeOrderBy,
  String? inventoryTypeId,
  String? unitId,
  String? unit,
  String? currentSpaceId,
  String? currentSpace,
  String? consignorId,
  String? consignor,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountSerial(
    physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
    inventoryId: inventoryId ?? this.inventoryId,
    inventoryType: inventoryType ?? this.inventoryType,
    category: category ?? this.category,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    aisleLocation: aisleLocation ?? this.aisleLocation,
    shelfLocation: shelfLocation ?? this.shelfLocation,
    categoryId: categoryId ?? this.categoryId,
    categoryOrderBy: categoryOrderBy ?? this.categoryOrderBy,
    inventoryTypeOrderBy: inventoryTypeOrderBy ?? this.inventoryTypeOrderBy,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    unitId: unitId ?? this.unitId,
    unit: unit ?? this.unit,
    currentSpaceId: currentSpaceId ?? this.currentSpaceId,
    currentSpace: currentSpace ?? this.currentSpace,
    consignorId: consignorId ?? this.consignorId,
    consignor: consignor ?? this.consignor,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}