hashCode property
Get a hashCode for the complex number.
Any double.nan value in real or imaginary part produces
the same hash code 7
.
Implementation
@override
int get hashCode {
if (isNaN) return 7;
return 37 * (17 * imaginary.hashCode + real.hashCode);
}