copyWith method

WebApiModulesInventoryInventoryReceiptItemAttribute copyWith({
  1. String? itemAttributeValueId,
  2. String? attributeId,
  3. String? itemId,
  4. String? attribute,
  5. String? attributeValueId,
  6. String? attributeValue,
  7. double? numericValue,
  8. bool? numericOnly,
  9. String? dateStamp,
  10. String? auditNote,
  11. String? recordTitle,
  12. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  13. List<FwStandardDataFwCustomValue>? custom,
  14. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  15. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesInventoryInventoryReceiptItemAttribute copyWith(
    {String? itemAttributeValueId,
    String? attributeId,
    String? itemId,
    String? attribute,
    String? attributeValueId,
    String? attributeValue,
    double? numericValue,
    bool? numericOnly,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesInventoryInventoryReceiptItemAttribute(
      itemAttributeValueId: itemAttributeValueId ?? this.itemAttributeValueId,
      attributeId: attributeId ?? this.attributeId,
      itemId: itemId ?? this.itemId,
      attribute: attribute ?? this.attribute,
      attributeValueId: attributeValueId ?? this.attributeValueId,
      attributeValue: attributeValue ?? this.attributeValue,
      numericValue: numericValue ?? this.numericValue,
      numericOnly: numericOnly ?? this.numericOnly,
      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);
}