Nano class sealed
For converting to and from nano values
Properties
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- multiplier → BigInt
-
final
Static Methods
-
asString(
dynamic src) → String - Returns a String from either BigInt, int, num or String
-
fromBigInt(
BigInt src) → BigInt - Returns BigInt nano value from BigInt
-
fromDouble(
double src) → BigInt - Returns BigInt nano value from double
-
fromInt(
int src) → BigInt - Returns BigInt nano value from int
-
fromNum(
num src) → BigInt - Returns BigInt nano value from num
-
fromString(
String src) → BigInt - Returns BigInt nano value from String
-
toBigInt(
BigInt src) → BigInt - Returns BigInt from nano value
-
toInt(
BigInt src) → int - Returns int from nano value