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

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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}