WebResult class
Constructors
Properties
- content ↔ String?
-
Content is the ENGINE's snippet — the few lines shown under the title, not the page's text. Read the page itself with POST /v1/crawl.
getter/setter pair
- engine ↔ String?
-
Engine names the backend that found this hit, so one engine's view of a query can be told from another's.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
Title is the page's title.
getter/setter pair
- url ↔ String?
-
URL is the page's address, as the engine reported it.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → WebResult? -
Returns a new WebResult instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< WebResult> -
mapFromJson(
dynamic json) → Map< String, WebResult> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< WebResult> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.