hasNaN property

bool get hasNaN

Returns true if this point has NaN values.

Implementation

bool get hasNaN => x.isNaN || y.isNaN;