equals method

bool equals(
  1. Object that
)

Equals is based on reference

Implementation

bool equals(Object that) => this == that;