ReferenceBookCandidate class final

A single possible interpretation of a parsed book token.

Constructors

ReferenceBookCandidate({required BibleBookEnum book, required String alias, required BibleLanguageEnum? language, required bool isCustom})
const

Properties

alias → String
The registered alias that produced this candidate.
final
book → BibleBookEnum
The book represented by this candidate.
final
hashCode → int
The hash code for this object.
no setteroverride
isCustom → bool
Whether this candidate came from caller-provided aliases.
final
language → BibleLanguageEnum?
The alias language, or null for a language-neutral custom alias.
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
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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