pow method Null safety

BigInt pow (
  1. int exponent
)

Returns this to the power of exponent.

Returns one if the exponent equals 0.

The exponent must otherwise be positive.

The result is always equal to the mathematical result of this to the power exponent, only limited by the available memory.

Implementation

BigInt pow(int exponent);