hashCode property

  1. @override
int get hashCode
override

Returns a hash code for a both real and imaginary values.

The hash code is compatible with equality. No guarantees are made about the hash code of NaN values.

Implementation

@override
int get hashCode => _real.hashCode ^ _img.hashCode;