isFinite property
bool?
get
isFinite
Whether this number is finite.
The only non-finite numbers are NaN values, positive infinity, and negative infinity. All integers are finite.
All numbers satisfy exactly one of isInfinite, isFinite
and isNaN.
Implementation
bool? get isFinite => value?.isFinite;