copyWithWrapped method

WebApiModulesSettingsAccountingSettingsGlDistributionRuleGlDistributionRule copyWithWrapped({
  1. Wrapped<String?>? glDistributionId,
  2. Wrapped<String?>? glAccountId,
  3. Wrapped<String?>? accountType,
  4. Wrapped<String?>? accountTypeDescription,
  5. Wrapped<String?>? glAccountNo,
  6. Wrapped<String?>? glAccountDescription,
  7. Wrapped<String?>? dateStamp,
  8. Wrapped<String?>? auditNote,
  9. Wrapped<String?>? recordTitle,
  10. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  11. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  12. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  13. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsAccountingSettingsGlDistributionRuleGlDistributionRule
    copyWithWrapped(
        {Wrapped<String?>? glDistributionId,
        Wrapped<String?>? glAccountId,
        Wrapped<String?>? accountType,
        Wrapped<String?>? accountTypeDescription,
        Wrapped<String?>? glAccountNo,
        Wrapped<String?>? glAccountDescription,
        Wrapped<String?>? dateStamp,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesSettingsAccountingSettingsGlDistributionRuleGlDistributionRule(
      glDistributionId: (glDistributionId != null
          ? glDistributionId.value
          : this.glDistributionId),
      glAccountId:
          (glAccountId != null ? glAccountId.value : this.glAccountId),
      accountType:
          (accountType != null ? accountType.value : this.accountType),
      accountTypeDescription: (accountTypeDescription != null
          ? accountTypeDescription.value
          : this.accountTypeDescription),
      glAccountNo:
          (glAccountNo != null ? glAccountNo.value : this.glAccountNo),
      glAccountDescription: (glAccountDescription != null
          ? glAccountDescription.value
          : this.glAccountDescription),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}