equalsApprox method

bool equalsApprox(
  1. Rect r
)

(undocumented) True when the given Rect is nearly equal to this Rect. @param {Rect} r The Rect to compare to the current Rect. @return {boolean} True if the two Rects have respective X, Y, Width, and Height values within 0.5, false otherwise.

Implementation

_i2.bool equalsApprox(_i3.Rect r) => _i4.callMethod(
      this,
      'equalsApprox',
      [r],
    );