Currency class

Currency

Implemented types

Constructors

Currency({required String symbol, required String name, required String symbolNative, required int decimalDigits, required double rounding, required String code, required String namePlural})
Currency.fromMap(Map<String, dynamic> map)
factory

Properties

code String
Currency code in ISO 4217-1 three-character format.
final
decimalDigits int
Number of decimal digits.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Currency name.
final
namePlural String
Currency plural name
final
rounding double
Currency digit rounding.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
Currency symbol.
final
symbolNative String
Currency native symbol.
final

Methods

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

Operators

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