copyWith method

WebApiModulesHomeAlternativeDescriptionAlternativeDescription 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. dynamic urlIdentifier,
  13. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  14. List<FwStandardDataFwCustomValue>? custom,
  15. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  16. FwStandardBusinessLogicFwBusinessLogic? original,
  17. List<FwStandardDataFwTranslatedValue>? translation,
  18. bool? hasImport,
  19. bool? hasDocuments,
  20. String? createdByUserId,
  21. String? createdByUserName,
  22. String? createdDateTime,
  23. String? modifiedByUserId,
  24. String? modifiedByUserName,
  25. String? modifiedDateTime,
})

Implementation

WebApiModulesHomeAlternativeDescriptionAlternativeDescription copyWith({
  int? alternativeDescriptionId,
  bool? internalChar,
  String? inventoryId,
  String? iCode,
  String? description,
  String? aka,
  bool? allowedOnInvoice,
  bool? isPrimary,
  bool? inactive,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesHomeAlternativeDescriptionAlternativeDescription(
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}