Complex.constant constructor

const Complex.constant(
  1. Real real,
  2. Imaginary imaginary
)

Constructs a constant Complex number.

Implementation

const Complex.constant(this.real, this.imaginary) : super.constant();