blob: b4a25261b24efb6cc98af4357b5bba7bb5a3ffd7 [file] [log] [blame]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:dartdoc/src/model/comment_referable.dart';
class MatchingLinkResult {
final CommentReferable? commentReferable;
bool operator ==(Object other) =>
other is MatchingLinkResult && commentReferable == other.commentReferable;
int get hashCode => commentReferable.hashCode;
String toString() {
return 'element: [${commentReferable?.fullyQualifiedName}]';