isNear method

bool isNear(
  1. double v
)

Use zeroValue.

Implementation

bool isNear(double v) => (this - v).abs() < zeroValue;