isNaN property

bool? get isNaN

True if the number is the double Not-a-Number value; otherwise, false.

Implementation

bool? get isNaN => value?.isNaN;