isInfinite property Null safety

bool? isInfinite

True if the number is positive infinity or negative infinity; otherwise, false.

Implementation

bool? get isInfinite => value?.isInfinite;