equals method

  1. @override
bool equals(
  1. Object obj
)

Implementation

@override
bool equals(Object obj) {
  if (identical(this, obj)) return true;

  return obj is Key && this == obj;
}