isNegative property

bool get isNegative

Returns true if the value is negative (< 0).

Implementation

bool get isNegative => value < 0;