CurrencyExchangeRate class
Describes exchange rate of a currency to USD
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- CurrencyExchangeRate({required String currency, required double rate})
-
const
Properties
Methods
-
copyWith(
{String? currency, double? rate}) → CurrencyExchangeRate -
Available on CurrencyExchangeRate, provided by the CurrencyExchangeRateExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → CurrencyExchangeRate?
Constants
- constructor → const String