Complex.fromDouble constructor

const Complex.fromDouble(
  1. double real
)

Implementation

const Complex.fromDouble(this.real) : imaginary = 0;