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? urlIdentifier,
  19. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  20. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  21. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  22. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  23. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  24. Wrapped<bool?>? hasImport,
  25. Wrapped<bool?>? hasDocuments,
  26. Wrapped<String?>? createdByUserId,
  27. Wrapped<String?>? createdByUserName,
  28. Wrapped<String?>? createdDateTime,
  29. Wrapped<String?>? modifiedByUserId,
  30. Wrapped<String?>? modifiedByUserName,
  31. Wrapped<String?>? modifiedDateTime,
})

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