equals method

bool equals(
  1. dynamic compare
)

Implementation

bool equals(dynamic compare) => this != null && this == compare;