copyWith method

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

Implementation

WebApiModulesHomeControlsTaxableTaxable copyWith(
    {String? masterId,
    String? locationId,
    String? location,
    bool? taxable,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsTaxableTaxable(
      masterId: masterId ?? this.masterId,
      locationId: locationId ?? this.locationId,
      location: location ?? this.location,
      taxable: taxable ?? this.taxable,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}