exp method Null safety

Complex exp()

Compute e^this

Implementation

Complex exp() {
  double eXr = dart.exp(real);
  return Complex(eXr * dart.cos(imaginary), eXr * dart.sin(imaginary));
}