Result class

A custom search result.

Constructors

Result({String? cacheId, String? displayLink, String? fileFormat, String? formattedUrl, String? htmlFormattedUrl, String? htmlSnippet, String? htmlTitle, ResultImage? image, String? kind, List<ResultLabels>? labels, String? link, String? mime, Map<String, Object?>? pagemap, String? snippet, String? title})
Result.fromJson(Map json_)

Properties

cacheId String?
Indicates the ID of Google's cached version of the search result.
getter/setter pair
An abridged version of this search result’s URL, e.g. www.example.com.
getter/setter pair
fileFormat String?
The file format of the search result.
getter/setter pair
formattedUrl String?
The URL displayed after the snippet for each search result.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
htmlFormattedUrl String?
The HTML-formatted URL displayed after the snippet for each search result.
getter/setter pair
htmlSnippet String?
The snippet of the search result, in HTML.
getter/setter pair
htmlTitle String?
The title of the search result, in HTML.
getter/setter pair
image ResultImage?
Image belonging to a custom search result.
getter/setter pair
kind String?
A unique identifier for the type of current object.
getter/setter pair
labels List<ResultLabels>?
Encapsulates all information about refinement labels.
getter/setter pair
The full URL to which the search result is pointing, e.g. http://www.example.com/foo/bar.
getter/setter pair
mime String?
The MIME type of the search result.
getter/setter pair
pagemap Map<String, Object?>?
Contains PageMap information for this search result.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snippet String?
The snippet of the search result, in plain text.
getter/setter pair
title String?
The title of the search result, in plain text.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited