copyWithWrapped method

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,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  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),
      translation:
          (translation != null ? translation.value : this.translation));
}