MonetaryAmount class

A number that represents the monetary amount for an offering or transaction.

Constructors

MonetaryAmount({double? amount, CurrencyCode? currencyCode})
MonetaryAmount.fromJson(Map<String, dynamic> json)
factory

Properties

amount double?
The numerical amount of an offering or transaction.
final
currencyCode CurrencyCode?
The currency code of a monetary amount. For example, USD means U.S. dollars.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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