TextWithHighlights class

Provides text and information about where to highlight the text.

Constructors

TextWithHighlights({List<Highlight>? highlights, String? text})
TextWithHighlights.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
highlights List<Highlight>?
The beginning and end of the text that should be highlighted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The text to display to the user.
final

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