ReferenceQuery class

A query object returned by the identifyReference() function.

var refs = await identifyReference("This is what");
var ref = refs[0];
print(ref.preview) // "This is what the LORD says: "Heaven is my throne, and the earth is my footstool. ..."
print(ref.query) // "This is what"
print(ref.reference.reference) // "Isaiah 66:1"

Note, the reference field will be a Reference object, not a String.

Constructors

ReferenceQuery(String query, String preview, Reference reference)
Constructs a query object with returned text, preview and reference.

Properties

hashCode int
The hash code for this object.
no setterinherited
preview String
This field contains a shortened portion of the verse's text.
final
query String
The query passed by the identifyReference() parameter.
final
reference Reference
The Reference object that possibly matches the query.
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
reference - preview.
override

Operators

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