isInfinite property Null safety
Whether this number is positive infinity or negative infinity.
Only satisfied by double.infinity and double.negativeInfinity.
All numbers satisfy exacly one of of isInfinite
, isFinite
and isNaN.
Implementation
bool get isInfinite;