CurrencyInformation class

Information about a currency.

Annotations
  • @JsonSerializable.new()

Constructors

CurrencyInformation({required String code, required String name, required String symbol, required int number, required Map<String, double> rates})
Information about a currency.
CurrencyInformation.fromJson(Map<String, Object?> json)
Parse a CurrencyInformation from a JSON value.
factory

Properties

code → String
The 3-letter code of the main currency associated with an IP address. (e.g. USD for United States dollar)
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of this currency.
final
number → int
The number of this currency.
final
rates → Map<String, double>
An object containing rates from the USD and EUR to this currency.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbol → String
The native symbol of this currency.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited