isNegative property Null safety

bool isNegative

Whether this number is negative.

Returns false if the double value is null

Implementation

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