Creates a complex number from cartesian coordinates a and b.
a
b
const factory Complex.fromCartesian(num a, num b) = Complex;