operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Returns true if runtimeType, term and similarity are equal.

Implementation

@override
bool operator ==(Object other) =>
    other is TermSimilarity &&
    term == other.term &&
    this.other == other.other &&
    characterSimilarity == other.characterSimilarity &&
    editDistance == other.editDistance &&
    editSimilarity == other.editSimilarity &&
    lengthDistance == other.lengthDistance &&
    lengthSimilarity == other.lengthSimilarity &&
    jaccardSimilarity == other.jaccardSimilarity &&
    similarity == other.similarity;