copyWith method

WebApiModulesHomeControlsAlternativeDescriptionAlternativeDescription copyWith({
  1. int? alternativeDescriptionId,
  2. bool? internalChar,
  3. String? inventoryId,
  4. String? iCode,
  5. String? description,
  6. String? aka,
  7. bool? allowedOnInvoice,
  8. bool? isPrimary,
  9. bool? inactive,
  10. String? auditNote,
  11. String? recordTitle,
  12. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  13. List<FwStandardDataFwCustomValue>? custom,
  14. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  15. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsAlternativeDescriptionAlternativeDescription
    copyWith(
        {int? alternativeDescriptionId,
        bool? internalChar,
        String? inventoryId,
        String? iCode,
        String? description,
        String? aka,
        bool? allowedOnInvoice,
        bool? isPrimary,
        bool? inactive,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsAlternativeDescriptionAlternativeDescription(
      alternativeDescriptionId:
          alternativeDescriptionId ?? this.alternativeDescriptionId,
      internalChar: internalChar ?? this.internalChar,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      aka: aka ?? this.aka,
      allowedOnInvoice: allowedOnInvoice ?? this.allowedOnInvoice,
      isPrimary: isPrimary ?? this.isPrimary,
      inactive: inactive ?? this.inactive,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}