AmountData class
Constructors
- AmountData({required String amount, required String currency})
-
const
-
AmountData.fromMap(Map<
String, dynamic> map) -
Forms a AmountData from a Map of String keys and
dynamic
values.factory
Properties
- amount → String
-
final
- currency → String
-
final
- getAmountNumber → double
-
Parses the amount value from string to a double numeric.
no setter
- 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
-
toMap(
) → Map< String, dynamic> -
Forms a Map of
String
keys anddynamic
values from Class Data. -
toString(
) → String -
Returns the class data converted to a map as a Serialized JSON String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited