SuggestResult class

Constructors

SuggestResult({required String content, required String description, bool? deletable, List<MatchClassification>? descriptionStyles})
SuggestResult.fromJS(SuggestResult _wrapped)

Properties

content String
The text that is put into the URL bar, and that is sent to the extension when the user chooses this entry.
getter/setter pair
deletable bool?
Whether the suggest result can be deleted by the user.
getter/setter pair
description String
The text that is displayed in the URL dropdown. Can contain XML-style markup for styling. The supported tags are 'url' (for a literal URL), 'match' (for highlighting text that matched what the user's query), and 'dim' (for dim helper text). The styles can be nested, eg. . You must escape the five predefined entities to display them as text: stackoverflow.com/a/1091953/89484
getter/setter pair
descriptionStyles List<MatchClassification>?
An array of style ranges for the description, as provided by the extension.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → SuggestResult
no setter

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