copyWith method

WebApiModulesHomeControlsInventoryPrepInventoryPrep copyWith({
  1. String? inventoryPrepId,
  2. String? inventoryId,
  3. String? iCode,
  4. String? description,
  5. String? prepRateId,
  6. String? prepICode,
  7. String? prepDescription,
  8. String? prepUnit,
  9. String? prepUnitType,
  10. bool? isDefault,
  11. double? prepRate,
  12. String? prepTime,
  13. double? prepExtended,
  14. double? qtyOrdered,
  15. double? price,
  16. bool? orderId,
  17. bool? masteritemId,
  18. String? dateStamp,
  19. String? auditNote,
  20. String? recordTitle,
  21. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  22. List<FwStandardDataFwCustomValue>? custom,
  23. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  24. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryPrepInventoryPrep copyWith(
    {String? inventoryPrepId,
    String? inventoryId,
    String? iCode,
    String? description,
    String? prepRateId,
    String? prepICode,
    String? prepDescription,
    String? prepUnit,
    String? prepUnitType,
    bool? isDefault,
    double? prepRate,
    String? prepTime,
    double? prepExtended,
    double? qtyOrdered,
    double? price,
    bool? orderId,
    bool? masteritemId,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsInventoryPrepInventoryPrep(
      inventoryPrepId: inventoryPrepId ?? this.inventoryPrepId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      prepRateId: prepRateId ?? this.prepRateId,
      prepICode: prepICode ?? this.prepICode,
      prepDescription: prepDescription ?? this.prepDescription,
      prepUnit: prepUnit ?? this.prepUnit,
      prepUnitType: prepUnitType ?? this.prepUnitType,
      isDefault: isDefault ?? this.isDefault,
      prepRate: prepRate ?? this.prepRate,
      prepTime: prepTime ?? this.prepTime,
      prepExtended: prepExtended ?? this.prepExtended,
      qtyOrdered: qtyOrdered ?? this.qtyOrdered,
      price: price ?? this.price,
      orderId: orderId ?? this.orderId,
      masteritemId: masteritemId ?? this.masteritemId,
      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);
}