copyWithWrapped method

WebApiModulesUtilitiesGLDistributionGLDistribution copyWithWrapped({
  1. Wrapped<String?>? date,
  2. Wrapped<String?>? glAccountNo,
  3. Wrapped<String?>? glAccountDescription,
  4. Wrapped<double?>? debit,
  5. Wrapped<double?>? credit,
  6. Wrapped<String?>? glAccountId,
  7. Wrapped<String?>? groupHeading,
  8. Wrapped<int?>? orderBy,
  9. Wrapped<int?>? groupHeadingOrder,
  10. Wrapped<String?>? currencyId,
  11. Wrapped<String?>? currencyCode,
  12. Wrapped<String?>? currency,
  13. Wrapped<String?>? currencySymbol,
  14. Wrapped<String?>? officeLocationId,
  15. Wrapped<String?>? officeLocation,
  16. Wrapped<String?>? auditNote,
  17. Wrapped<String?>? recordTitle,
  18. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  19. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  20. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  21. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesUtilitiesGLDistributionGLDistribution copyWithWrapped(
    {Wrapped<String?>? date,
    Wrapped<String?>? glAccountNo,
    Wrapped<String?>? glAccountDescription,
    Wrapped<double?>? debit,
    Wrapped<double?>? credit,
    Wrapped<String?>? glAccountId,
    Wrapped<String?>? groupHeading,
    Wrapped<int?>? orderBy,
    Wrapped<int?>? groupHeadingOrder,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currencyCode,
    Wrapped<String?>? currency,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? officeLocationId,
    Wrapped<String?>? officeLocation,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesUtilitiesGLDistributionGLDistribution(
      date: (date != null ? date.value : this.date),
      glAccountNo:
          (glAccountNo != null ? glAccountNo.value : this.glAccountNo),
      glAccountDescription: (glAccountDescription != null
          ? glAccountDescription.value
          : this.glAccountDescription),
      debit: (debit != null ? debit.value : this.debit),
      credit: (credit != null ? credit.value : this.credit),
      glAccountId:
          (glAccountId != null ? glAccountId.value : this.glAccountId),
      groupHeading:
          (groupHeading != null ? groupHeading.value : this.groupHeading),
      orderBy: (orderBy != null ? orderBy.value : this.orderBy),
      groupHeadingOrder: (groupHeadingOrder != null
          ? groupHeadingOrder.value
          : this.groupHeadingOrder),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      currency: (currency != null ? currency.value : this.currency),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      officeLocation: (officeLocation != null
          ? officeLocation.value
          : this.officeLocation),
      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));
}