equals method

bool equals(
  1. Spot spot
)

Two spots are equal if all four property values are the same. @param {Spot} spot The Spot to compare to the current Spot. @return {boolean} True if the two spots are equal, false otherwise.

Implementation

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