Currency class

Payment related currency

Annotations
  • @JsonSerializable()

Constructors

Currency({required String? name, required String? symbol, required bool? symbolFirst, required int? decimals, required String? decimalMark, required String? thousandsSeparator, required String? subunit, required int? subunitToUnit, required String? symbolNative, required int? decimalDigits, required int? rounding, required String? code, required String? namePlural, required String? iconUrl})
Currency.fromJson(Map<String, dynamic> json)
factory

Properties

code String?
final
decimalDigits int?
final
decimalMark String?
final
decimals int?
final
hashCode int
The hash code for this object.
no setterinherited
iconUrl String?
final
name String?
final
namePlural String?
final
rounding int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subunit String?
final
subunitToUnit int?
final
symbol String?
final
symbolFirst bool?
final
symbolNative String?
final
thousandsSeparator String?
final

Methods

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

Operators

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