isNegative property

bool get isNegative

Returns true if the current value is negative.

Implementation

bool get isNegative => value < 0;