isNegative property

bool get isNegative

Indicates whether the amount is negative.

Implementation

bool get isNegative => rational.isNegative;