Money class
Constructors
- Money(double amount, String currency, [int precision = 100000])
-
factory
- Money.fromFMU(int fmu, String currency, [int precision = 100000])
-
factory
-
Money.fromMap(Map<
String, dynamic> ? json, [String? id, bool okey = false]) -
idandokeydo not meaning anything. its is used to meet the serialization convention of Laams data types.factory - Money.init([int fmu = 0, String currency = '', int precision = 100000])
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
bool isFirestore) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator +(
Money other) → Money -
operator -(
Money other) → Money -
operator <(
dynamic other) → bool -
operator <=(
dynamic other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
dynamic other) → bool -
operator >=(
dynamic other) → bool