copyWith method

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

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryRecount copyWith({
  int? physicalMasterId,
  String? physicalInventoryId,
  String? inventoryId,
  String? iCode,
  String? description,
  String? categoryId,
  String? category,
  double? categoryOrderBy,
  String? inventoryTypeId,
  String? inventoryType,
  int? inventoryTypeOrderBy,
  String? currentSpaceId,
  String? unitId,
  String? unit,
  String? aisleLocation,
  String? shelfLocation,
  bool? isRecount,
  int? owned,
  int? onOrder,
  int? inRepair,
  int? counted,
  int? variance,
  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 WebApiModulesInventoryPhysicalInventoryPhysicalInventoryRecount(
    physicalMasterId: physicalMasterId ?? this.physicalMasterId,
    physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
    inventoryId: inventoryId ?? this.inventoryId,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    categoryId: categoryId ?? this.categoryId,
    category: category ?? this.category,
    categoryOrderBy: categoryOrderBy ?? this.categoryOrderBy,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    inventoryType: inventoryType ?? this.inventoryType,
    inventoryTypeOrderBy: inventoryTypeOrderBy ?? this.inventoryTypeOrderBy,
    currentSpaceId: currentSpaceId ?? this.currentSpaceId,
    unitId: unitId ?? this.unitId,
    unit: unit ?? this.unit,
    aisleLocation: aisleLocation ?? this.aisleLocation,
    shelfLocation: shelfLocation ?? this.shelfLocation,
    isRecount: isRecount ?? this.isRecount,
    owned: owned ?? this.owned,
    onOrder: onOrder ?? this.onOrder,
    inRepair: inRepair ?? this.inRepair,
    counted: counted ?? this.counted,
    variance: variance ?? this.variance,
    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,
  );
}