equals method

bool equals(
  1. Object other
)

Implementation

bool equals(Object other) {
  return this == other;
}