sign property

int sign

Returns the sign of this Fixed amount. Returns 0 for zero, -1 for values less than zero and +1 for values greater than zero.

Implementation

int get sign => amount.sign;