WebEngine class

Constructors

WebEngine({String? name, String? outcome, int? results})
Returns a new WebEngine instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the engine, matching the engine stamped on each result.
getter/setter pair
outcome ↔ String?
Outcome is "answered", "blind" or "failed" — see outcome.go. "blind" means the page came back and no results could be read out of it.
getter/setter pair
results ↔ int?
Results is how many hits this engine contributed, before the merge deduplicated them against the others.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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) → WebEngine?
Returns a new WebEngine instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<WebEngine>
mapFromJson(dynamic json) → Map<String, WebEngine>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<WebEngine>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.