ReferenceBookTokenMatch class final

Match information for one explicit book token in the source text.

Constructors

ReferenceBookTokenMatch({required String input, required ReferenceBookCandidate selected, Iterable<ReferenceBookCandidate> alternatives = const []})

Properties

alternatives → List<ReferenceBookCandidate>
Other candidates that matched the same normalized token.
final
detectedLanguage → BibleLanguageEnum?
The selected language, or null for a language-neutral custom alias.
no setter
hashCode → int
The hash code for this object.
no setteroverride
input → String
The syntax-normalized book token, trimmed but otherwise unchanged.
final
isAmbiguous → bool
Whether the token could have selected a different book.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selected → ReferenceBookCandidate
The candidate chosen by the parser.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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