Score class

Represents an accumulating score for a search term.

Boosts are added to the score. Once the score has been calculated, you can't append any more boosts.

Constructors

Score.zero()

Properties

boosts List<Boost>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculate() double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator +(Boost boost) Score
operator ==(Object other) bool
The equality operator.
inherited