bool equalsKey(Object key) { if (identical(this.key, key)) { return true; } return _deepCollectionEquality.equals(this.key, key); }