copyWithWrapped method

WebApiModulesHomeControlsTaxableTaxable copyWithWrapped({
  1. Wrapped<String?>? masterId,
  2. Wrapped<String?>? locationId,
  3. Wrapped<String?>? location,
  4. Wrapped<bool?>? taxable,
  5. Wrapped<String?>? auditNote,
  6. Wrapped<String?>? recordTitle,
  7. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  8. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  9. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
})

Implementation

WebApiModulesHomeControlsTaxableTaxable copyWithWrapped(
    {Wrapped<String?>? masterId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? location,
    Wrapped<bool?>? taxable,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
        defaultFieldAttributes}) {
  return WebApiModulesHomeControlsTaxableTaxable(
      masterId: (masterId != null ? masterId.value : this.masterId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      location: (location != null ? location.value : this.location),
      taxable: (taxable != null ? taxable.value : this.taxable),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes));
}