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. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  17. List<FwStandardDataFwCustomValue>? custom,
  18. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

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,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  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,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}