copyWith method

WebApiModulesHomeControlsInventoryPackageInventoryInventoryPackageInventory copyWith({
  1. bool? deletingWarehouseSpecific,
  2. String? inventoryPackageInventoryId,
  3. String? packageId,
  4. String? inventoryId,
  5. String? iCode,
  6. String? iCodeColor,
  7. String? lineColor,
  8. String? description,
  9. bool? isPrimary,
  10. double? defaultQuantity,
  11. bool? isOption,
  12. bool? charge,
  13. bool? noChargePrint,
  14. bool? isRequired,
  15. String? optionColor,
  16. String? itemClass,
  17. String? itemTrackedBy,
  18. String? availFor,
  19. String? availFrom,
  20. double? categoryOrderBy,
  21. int? orderBy,
  22. int? itemColor,
  23. bool? isNestedComplete,
  24. bool? inactive,
  25. String? warehouseId,
  26. String? parentId,
  27. String? packageItemClass,
  28. bool? itemNonDiscountable,
  29. String? primaryInventoryId,
  30. String? unitId,
  31. double? dailyRate,
  32. double? weeklyRate,
  33. double? monthlyRate,
  34. double? dailyExtended,
  35. double? weeklyExtended,
  36. double? monthlyExtended,
  37. double? price,
  38. double? retail,
  39. String? currencyId,
  40. String? currencyCode,
  41. String? currencySymbol,
  42. String? dateStamp,
  43. String? auditNote,
  44. String? recordTitle,
  45. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  46. List<FwStandardDataFwCustomValue>? custom,
  47. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  48. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryPackageInventoryInventoryPackageInventory
    copyWith(
        {bool? deletingWarehouseSpecific,
        String? inventoryPackageInventoryId,
        String? packageId,
        String? inventoryId,
        String? iCode,
        String? iCodeColor,
        String? lineColor,
        String? description,
        bool? isPrimary,
        double? defaultQuantity,
        bool? isOption,
        bool? charge,
        bool? noChargePrint,
        bool? isRequired,
        String? optionColor,
        String? itemClass,
        String? itemTrackedBy,
        String? availFor,
        String? availFrom,
        double? categoryOrderBy,
        int? orderBy,
        int? itemColor,
        bool? isNestedComplete,
        bool? inactive,
        String? warehouseId,
        String? parentId,
        String? packageItemClass,
        bool? itemNonDiscountable,
        String? primaryInventoryId,
        String? unitId,
        double? dailyRate,
        double? weeklyRate,
        double? monthlyRate,
        double? dailyExtended,
        double? weeklyExtended,
        double? monthlyExtended,
        double? price,
        double? retail,
        String? currencyId,
        String? currencyCode,
        String? currencySymbol,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsInventoryPackageInventoryInventoryPackageInventory(
      deletingWarehouseSpecific:
          deletingWarehouseSpecific ?? this.deletingWarehouseSpecific,
      inventoryPackageInventoryId:
          inventoryPackageInventoryId ?? this.inventoryPackageInventoryId,
      packageId: packageId ?? this.packageId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      iCodeColor: iCodeColor ?? this.iCodeColor,
      lineColor: lineColor ?? this.lineColor,
      description: description ?? this.description,
      isPrimary: isPrimary ?? this.isPrimary,
      defaultQuantity: defaultQuantity ?? this.defaultQuantity,
      isOption: isOption ?? this.isOption,
      charge: charge ?? this.charge,
      noChargePrint: noChargePrint ?? this.noChargePrint,
      isRequired: isRequired ?? this.isRequired,
      optionColor: optionColor ?? this.optionColor,
      itemClass: itemClass ?? this.itemClass,
      itemTrackedBy: itemTrackedBy ?? this.itemTrackedBy,
      availFor: availFor ?? this.availFor,
      availFrom: availFrom ?? this.availFrom,
      categoryOrderBy: categoryOrderBy ?? this.categoryOrderBy,
      orderBy: orderBy ?? this.orderBy,
      itemColor: itemColor ?? this.itemColor,
      isNestedComplete: isNestedComplete ?? this.isNestedComplete,
      inactive: inactive ?? this.inactive,
      warehouseId: warehouseId ?? this.warehouseId,
      parentId: parentId ?? this.parentId,
      packageItemClass: packageItemClass ?? this.packageItemClass,
      itemNonDiscountable: itemNonDiscountable ?? this.itemNonDiscountable,
      primaryInventoryId: primaryInventoryId ?? this.primaryInventoryId,
      unitId: unitId ?? this.unitId,
      dailyRate: dailyRate ?? this.dailyRate,
      weeklyRate: weeklyRate ?? this.weeklyRate,
      monthlyRate: monthlyRate ?? this.monthlyRate,
      dailyExtended: dailyExtended ?? this.dailyExtended,
      weeklyExtended: weeklyExtended ?? this.weeklyExtended,
      monthlyExtended: monthlyExtended ?? this.monthlyExtended,
      price: price ?? this.price,
      retail: retail ?? this.retail,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}