OLSearch class
This class OLSearch will be returned on having valid search results using the API's Query function. All json based operations are autogenerated.
- Inheritance
-
- Object
- OLSearchBase
- OLSearch
- Annotations
-
- @JsonSerializable()
Constructors
-
OLSearch({int numFound = 0, bool numFoundExact = false, String q = "", List<
OLSearchDoc> docs = const [], String patterns = ""}) -
const
-
OLSearch.fromJson(Map<
String, dynamic> json) -
OLSearch.fromJson crates an instance from json
factory
Properties
-
docs
→ List<
OLSearchDoc> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- numFound → int
-
final
- numFoundExact → bool
-
final
- patterns → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- q → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - toJson creates a json representative of this class
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited