toEtherAmount method
override
Converts this Uint256 to an EtherAmount in wei.
Returns an EtherAmount
Implementation
@override
EtherAmount toEtherAmount() {
return EtherAmount.fromBigInt(EtherUnit.wei, _value);
}
Converts this Uint256 to an EtherAmount in wei.
Returns an EtherAmount
@override
EtherAmount toEtherAmount() {
return EtherAmount.fromBigInt(EtherUnit.wei, _value);
}