pow static method

double pow(
  1. double x,
  2. int exponent
)

Implementation

static double pow(double x, int exponent) {
  return math.pow(x, exponent).toDouble();
}