CommitteeClassifierResult class final

ONE classifier call's outcome. Three of the four kinds are NON-RESULTS.

Annotations
  • @immutable

Constructors

CommitteeClassifierResult.malformed()
Output that does not decode into the one legal shape.
const
CommitteeClassifierResult.missing()
No output at all.
const
CommitteeClassifierResult.selected(Iterable<String> rubricIds)
A well-formed, entirely-legal answer over rubricIds.
factory
CommitteeClassifierResult.unknown(Iterable<String> rejected)
Output naming at least one rubric id we do not run — refused WHOLE, with the offending ids preserved as provenance.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isSelected → bool
Whether this is the one kind that ends the retry loop.
no setter
kind → CommitteeClassifierResultKind
What this call produced.
final
rejectedRubricIds → List<String>
The ids that made the answer CommitteeClassifierResultKind.unknown.
final
rubricIds → List<String>
The accepted lanes (empty for every non-result).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited