isZero property

bool get isZero

Indicates whether the amount is zero.

Implementation

bool get isZero => rational.isZero;