isNegative property Null safety

bool isNegative

Whether this number is negative.

Returns false if the int value is null

Implementation

bool get isNegative => _value?.isNegative ?? false;