isNaN property

bool? isNaN

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

Implementation

bool? get isNaN => value?.isNaN;