copyWith method

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

Implementation

WebApiModulesUtilitiesGLDistributionGLDistribution copyWith(
    {String? date,
    String? glAccountNo,
    String? glAccountDescription,
    double? debit,
    double? credit,
    String? glAccountId,
    String? groupHeading,
    int? orderBy,
    int? groupHeadingOrder,
    String? currencyId,
    String? currencyCode,
    String? currency,
    String? currencySymbol,
    String? officeLocationId,
    String? officeLocation,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesGLDistributionGLDistribution(
      date: date ?? this.date,
      glAccountNo: glAccountNo ?? this.glAccountNo,
      glAccountDescription: glAccountDescription ?? this.glAccountDescription,
      debit: debit ?? this.debit,
      credit: credit ?? this.credit,
      glAccountId: glAccountId ?? this.glAccountId,
      groupHeading: groupHeading ?? this.groupHeading,
      orderBy: orderBy ?? this.orderBy,
      groupHeadingOrder: groupHeadingOrder ?? this.groupHeadingOrder,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currency: currency ?? this.currency,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      officeLocation: officeLocation ?? this.officeLocation,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}