Complex constructor

const Complex(
  1. double real,
  2. double imaginary
)

Creates a complex number with the given real and imaginary parts.

Implementation

const Complex(this.real, this.imaginary);