isFinite property
bool
get
isFinite
True if the number is finite; otherwise, false.
The only non-finite numbers are NaN, positive infinity, and negative infinity.
Implementation
bool get isFinite => value.isFinite;