discontinuedPackage ic_tools has been discontinued.

Tokens class

Inheritance

Constructors

Tokens({required BigInt quantums, required int decimal_places})

Properties

decimal_places → int
final
dividable_by → BigInt
no setter
hashCode → int
The hash code for this object.
no setteroverride
quantums → BigInt
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type_mode → bool
no setterinherited
value → BigInt
no setterinherited

Methods

add_quantums(BigInt add_quantums) → Tokens
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
round_decimal_places(int round_decimal_places) → Tokens
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

of_the_double_string(String token_string, {required int decimal_places}) → Tokens
of_the_nat(CandidType tokens_nat, {required int decimal_places}) → Tokens