isZero property

bool get isZero

makes == 0 more readable

Implementation

bool get isZero => _isValid && abs() == 0.0;