MassifResult class

An entity used to neatly return and organise results fetched from Massif.

Constructors

MassifResult({required String text, required TextRange range, required String source, required List<InlineSpan> spans})
Define a result with the given parameters.

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
range ↔ TextRange
First selected range.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
selection → JidoujishoTextSelection
Get a selection with this result's text and range.
read-only
source ↔ String
The context from which the text was obtained.
read / write
spans ↔ List<InlineSpan>
A formatted widget which may contain highlighted text.
read / write
text ↔ String
The sentence in plain unformatted form.
read / write

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