isNaN property Null safety

bool isNaN

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

Implementation

bool get isNaN => value.isNaN;