WebSearchSource class final

One ranked search result: title, URL, and an optional snippet.

Constructors

WebSearchSource({required String title, required String url, String? snippet})
Creates a source.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snippet → String?
Preview text, when the provider supplies one.
final
title → String
Result title (falls back to the URL when the provider has none).
final
url → String
Result URL (already unwrapped from redirect trackers).
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