MatchedSubstring class
Represents a substring within the prediction description that matches the query.
This class is used to highlight parts of the description that match the user's input.
Constructors
- MatchedSubstring({int? length, int? offset})
- Creates a MatchedSubstring instance.
- MatchedSubstring.fromJson(dynamic json)
-
Creates a MatchedSubstring from a JSON map.
factory
Properties
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