convertWeiToEth static method

double convertWeiToEth(
  1. int wei
)

Implementation

static double convertWeiToEth(int wei) {
  double eth = wei * pow(10, -18).toDouble();
  return eth;
}