Uint256 class
- Implemented types
Constructors
- Uint256(BigInt _value)
- Uint256.fromHex(String hex)
-
factory
- Uint256.fromWei(EtherAmount inWei)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEther(
) → BigInt -
Converts this Uint256 to an EtherAmount in ether.
override
-
toEtherAmount(
) → EtherAmount -
Converts this Uint256 to an EtherAmount in wei.
override
-
toHex(
) → String -
Converts this Uint256 to a hexadecimal string.
override
-
toInt(
) → int -
Converts this Uint256 to an integer.
override
-
toString(
) → String -
A string representation of this object.
override
-
toUnit(
int decimals) → double -
Converts this Uint256 to a double giving the
decimals
.override -
toWei(
) → BigInt -
Converts this Uint256 to an EtherAmount in wei.
override
Operators
-
operator *(
covariant Uint256 other) → Uint256 -
Multiplies this Uint256 by
other
.override -
operator +(
covariant Uint256 other) → Uint256 -
Adds
other
to this Uint256.override -
operator -(
covariant Uint256 other) → Uint256 -
Subtracts
other
from this Uint256.override -
operator /(
covariant Uint256 other) → Uint256 -
Divides this Uint256 by
other
.override -
operator ==(
Object other) → bool -
The equality operator.
inherited