discontinuedPackage generic_enum_example has been discontinued.

Complex constructor

const Complex(
  1. num real,
  2. num imag
)

Implementation

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