RankedOption class final
One candidate of an answer.
- Annotations
-
- @experimental
- @immutable
Constructors
- RankedOption({required String id, required double score, double? probability})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The option's id.
final
- probability → double?
-
The calibrated probability, or null when the decider's probabilities are
not calibrated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double
-
The raw score, of the answer's DeciderAnswer.scoreKind. Higher is
better. Never a probability on its own.
final
Methods
-
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 ==(
Object other) → bool -
The equality operator.
inherited