copyWith method
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,
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);
}