equals method

bool equals(
  1. Rect r
)

Indicates whether the given Rect is equal to the current Rect. @param {Rect} r The rectangle to compare to the current rectangle. @return {boolean} True if the Rects are equivalent in x, y, width, and height. @see #equalTo

Implementation

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