equals method

bool equals(
  1. Size s
)

Indicates whether the given Size is equal to the current Size. @param {Size} s The Size to compare to the current Size. @return {boolean} True if the Sizes have the same width and height, false otherwise. @see #equalTo

Implementation

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