copyWith method

WebApiModulesSettingsCurrencyExchangeRateCurrencyExchangeRate copyWith({
  1. String? currencyExchangeRateId,
  2. String? asOfDate,
  3. String? fromCurrencyId,
  4. String? importDate,
  5. double? exchangeRate,
  6. String? toCurrencyId,
  7. String? fromCurrencyCode,
  8. String? fromCurrency,
  9. String? fromCurrencySymbol,
  10. String? toCurrencyCode,
  11. String? toCurrency,
  12. String? toCurrencySymbol,
  13. bool? inactive,
  14. String? auditNote,
  15. String? recordTitle,
  16. dynamic urlIdentifier,
  17. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  18. List<FwStandardDataFwCustomValue>? custom,
  19. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  20. FwStandardBusinessLogicFwBusinessLogic? original,
  21. List<FwStandardDataFwTranslatedValue>? translation,
  22. bool? hasImport,
  23. bool? hasDocuments,
  24. String? createdByUserId,
  25. String? createdByUserName,
  26. String? createdDateTime,
  27. String? modifiedByUserId,
  28. String? modifiedByUserName,
  29. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsCurrencyExchangeRateCurrencyExchangeRate copyWith({
  String? currencyExchangeRateId,
  String? asOfDate,
  String? fromCurrencyId,
  String? importDate,
  double? exchangeRate,
  String? toCurrencyId,
  String? fromCurrencyCode,
  String? fromCurrency,
  String? fromCurrencySymbol,
  String? toCurrencyCode,
  String? toCurrency,
  String? toCurrencySymbol,
  bool? inactive,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesSettingsCurrencyExchangeRateCurrencyExchangeRate(
    currencyExchangeRateId:
        currencyExchangeRateId ?? this.currencyExchangeRateId,
    asOfDate: asOfDate ?? this.asOfDate,
    fromCurrencyId: fromCurrencyId ?? this.fromCurrencyId,
    importDate: importDate ?? this.importDate,
    exchangeRate: exchangeRate ?? this.exchangeRate,
    toCurrencyId: toCurrencyId ?? this.toCurrencyId,
    fromCurrencyCode: fromCurrencyCode ?? this.fromCurrencyCode,
    fromCurrency: fromCurrency ?? this.fromCurrency,
    fromCurrencySymbol: fromCurrencySymbol ?? this.fromCurrencySymbol,
    toCurrencyCode: toCurrencyCode ?? this.toCurrencyCode,
    toCurrency: toCurrency ?? this.toCurrency,
    toCurrencySymbol: toCurrencySymbol ?? this.toCurrencySymbol,
    inactive: inactive ?? this.inactive,
    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,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}