equalTo method

bool equalTo(
  1. double other, {
  2. double precision = precisionErrorTolerance,
})

Implementation

bool equalTo(double other, {double precision = precisionErrorTolerance}) {
  return compare(other, precision: precision) == 0;
}