Percent class

Constructors

Percent(double amount, [int precision = 100])
factory
Percent.fromFMU(int fmu, [int precision = 100])
factory
Percent.fromMap(Map<String, dynamic>? json)
factory
Percent.init([int fmu = 0, int precision = 100])
const

Properties

amount double
no setter
fmu int
final
hashCode int
The hash code for this object.
no setteroverride
precision int
Precision could be more no more than 100000
final
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(bool isFirestore) Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator +(Percent other) Percent
operator -(Percent other) Percent
operator <(dynamic other) bool
operator <=(dynamic other) bool
operator ==(Object other) bool
The equality operator.
override
operator >(dynamic other) bool
operator >=(dynamic other) bool