toEther method

  1. @override
BigInt toEther()
override

Converts this Uint256 to an EtherAmount in ether.

Returns an BigInt representing the Uint256 value in ether.

Implementation

@override
BigInt toEther() {
  return toEtherAmount().getInEther;
}