equals method Null safety

bool equals(
  1. Object other
)

Implementation

bool equals(Object other) => (identical(this, other) ||
    (DeepCollectionEquality().equals(this, other)));