ImmersionKitResult class

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

Constructors

ImmersionKitResult({required String text, required String source, required String imageUrl, required String audioUrl, required List<String> wordList, required List<int> wordIndices})
Define a result with the given parameters.

Properties

audioUrl String
The audio of the context.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
imageUrl String
The image of the context.
read / write
range TextRange
Get the range for this result for cloze purposes.
read-only
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
text String
The sentence in plain unformatted form.
read / write
wordIndices List<int>
Index of the words to highlight.
read / write
wordList List<String>
List of split words.
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