Sum class
Sum of money.
- Inheritance
- Implemented types
- Available extensions
Constructors
- Sum(double val)
-
const
- Sum.fromJson(String val)
-
Constructs a Sum from the provided
val.factory
Properties
Methods
-
compareTo(
Sum other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns a String representing this Sum.
-
toPlainString(
) → String -
Available on NewType<
Converts this NewType to a String with no scientific notation.double> , provided by the NewTypeToExactString extension -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override