copyWithWrapped method

WebApiModulesSettingsAccountingSettingsAccountingSettingsAccountingSettings copyWithWrapped({
  1. Wrapped<String?>? controlId,
  2. Wrapped<String?>? name,
  3. Wrapped<bool?>? usePrefixOnAssetAccounts,
  4. Wrapped<bool?>? usePrefixOnIncomeAccounts,
  5. Wrapped<bool?>? usePrefixOnExpenseAccounts,
  6. Wrapped<bool?>? usePrefixOnLiabilityAccounts,
  7. Wrapped<bool?>? useSuffixOnAssetAccounts,
  8. Wrapped<bool?>? useSuffixOnExpenseAccounts,
  9. Wrapped<bool?>? useSuffixOnIncomeAccounts,
  10. Wrapped<bool?>? useSuffixOnLiabilityAccounts,
  11. Wrapped<double?>? assetUnitCostThreshold,
  12. Wrapped<bool?>? purchaseUseCompleteKitAccounts,
  13. Wrapped<bool?>? enableForeignSubRentalWithholding,
  14. Wrapped<String?>? foreignSubRentalWithholdingCountryId,
  15. Wrapped<String?>? foreignSubRentalWithholdingCountry,
  16. Wrapped<double?>? foreignSubRentalWithholdingPercent,
  17. Wrapped<String?>? assetAccountNumberFormat,
  18. Wrapped<String?>? expenseAccountNumberFormat,
  19. Wrapped<String?>? incomeAccountNumberFormat,
  20. Wrapped<String?>? liabilityAccountNumberFormat,
  21. Wrapped<bool?>? useOrderCost,
  22. Wrapped<String?>? dateStamp,
  23. Wrapped<String?>? auditNote,
  24. Wrapped<String?>? recordTitle,
  25. Wrapped? urlIdentifier,
  26. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  27. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  28. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  29. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  30. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  31. Wrapped<bool?>? hasImport,
  32. Wrapped<bool?>? hasDocuments,
  33. Wrapped<String?>? createdByUserId,
  34. Wrapped<String?>? createdByUserName,
  35. Wrapped<String?>? createdDateTime,
  36. Wrapped<String?>? modifiedByUserId,
  37. Wrapped<String?>? modifiedByUserName,
  38. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesSettingsAccountingSettingsAccountingSettingsAccountingSettings
copyWithWrapped({
  Wrapped<String?>? controlId,
  Wrapped<String?>? name,
  Wrapped<bool?>? usePrefixOnAssetAccounts,
  Wrapped<bool?>? usePrefixOnIncomeAccounts,
  Wrapped<bool?>? usePrefixOnExpenseAccounts,
  Wrapped<bool?>? usePrefixOnLiabilityAccounts,
  Wrapped<bool?>? useSuffixOnAssetAccounts,
  Wrapped<bool?>? useSuffixOnExpenseAccounts,
  Wrapped<bool?>? useSuffixOnIncomeAccounts,
  Wrapped<bool?>? useSuffixOnLiabilityAccounts,
  Wrapped<double?>? assetUnitCostThreshold,
  Wrapped<bool?>? purchaseUseCompleteKitAccounts,
  Wrapped<bool?>? enableForeignSubRentalWithholding,
  Wrapped<String?>? foreignSubRentalWithholdingCountryId,
  Wrapped<String?>? foreignSubRentalWithholdingCountry,
  Wrapped<double?>? foreignSubRentalWithholdingPercent,
  Wrapped<String?>? assetAccountNumberFormat,
  Wrapped<String?>? expenseAccountNumberFormat,
  Wrapped<String?>? incomeAccountNumberFormat,
  Wrapped<String?>? liabilityAccountNumberFormat,
  Wrapped<bool?>? useOrderCost,
  Wrapped<String?>? dateStamp,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesSettingsAccountingSettingsAccountingSettingsAccountingSettings(
    controlId: (controlId != null ? controlId.value : this.controlId),
    name: (name != null ? name.value : this.name),
    usePrefixOnAssetAccounts: (usePrefixOnAssetAccounts != null
        ? usePrefixOnAssetAccounts.value
        : this.usePrefixOnAssetAccounts),
    usePrefixOnIncomeAccounts: (usePrefixOnIncomeAccounts != null
        ? usePrefixOnIncomeAccounts.value
        : this.usePrefixOnIncomeAccounts),
    usePrefixOnExpenseAccounts: (usePrefixOnExpenseAccounts != null
        ? usePrefixOnExpenseAccounts.value
        : this.usePrefixOnExpenseAccounts),
    usePrefixOnLiabilityAccounts: (usePrefixOnLiabilityAccounts != null
        ? usePrefixOnLiabilityAccounts.value
        : this.usePrefixOnLiabilityAccounts),
    useSuffixOnAssetAccounts: (useSuffixOnAssetAccounts != null
        ? useSuffixOnAssetAccounts.value
        : this.useSuffixOnAssetAccounts),
    useSuffixOnExpenseAccounts: (useSuffixOnExpenseAccounts != null
        ? useSuffixOnExpenseAccounts.value
        : this.useSuffixOnExpenseAccounts),
    useSuffixOnIncomeAccounts: (useSuffixOnIncomeAccounts != null
        ? useSuffixOnIncomeAccounts.value
        : this.useSuffixOnIncomeAccounts),
    useSuffixOnLiabilityAccounts: (useSuffixOnLiabilityAccounts != null
        ? useSuffixOnLiabilityAccounts.value
        : this.useSuffixOnLiabilityAccounts),
    assetUnitCostThreshold: (assetUnitCostThreshold != null
        ? assetUnitCostThreshold.value
        : this.assetUnitCostThreshold),
    purchaseUseCompleteKitAccounts: (purchaseUseCompleteKitAccounts != null
        ? purchaseUseCompleteKitAccounts.value
        : this.purchaseUseCompleteKitAccounts),
    enableForeignSubRentalWithholding:
        (enableForeignSubRentalWithholding != null
        ? enableForeignSubRentalWithholding.value
        : this.enableForeignSubRentalWithholding),
    foreignSubRentalWithholdingCountryId:
        (foreignSubRentalWithholdingCountryId != null
        ? foreignSubRentalWithholdingCountryId.value
        : this.foreignSubRentalWithholdingCountryId),
    foreignSubRentalWithholdingCountry:
        (foreignSubRentalWithholdingCountry != null
        ? foreignSubRentalWithholdingCountry.value
        : this.foreignSubRentalWithholdingCountry),
    foreignSubRentalWithholdingPercent:
        (foreignSubRentalWithholdingPercent != null
        ? foreignSubRentalWithholdingPercent.value
        : this.foreignSubRentalWithholdingPercent),
    assetAccountNumberFormat: (assetAccountNumberFormat != null
        ? assetAccountNumberFormat.value
        : this.assetAccountNumberFormat),
    expenseAccountNumberFormat: (expenseAccountNumberFormat != null
        ? expenseAccountNumberFormat.value
        : this.expenseAccountNumberFormat),
    incomeAccountNumberFormat: (incomeAccountNumberFormat != null
        ? incomeAccountNumberFormat.value
        : this.incomeAccountNumberFormat),
    liabilityAccountNumberFormat: (liabilityAccountNumberFormat != null
        ? liabilityAccountNumberFormat.value
        : this.liabilityAccountNumberFormat),
    useOrderCost: (useOrderCost != null
        ? useOrderCost.value
        : this.useOrderCost),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}