equalsApprox method

bool equalsApprox(
  1. Size s
)

(undocumented) True when the given Size is nearly equal to this Size. @param {Size} s The Size to compare to the current Size. @return {boolean} True if the two Sizes have Width and Height values that are equal with a tolerance of 0.5, false otherwise.

Implementation

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