Algolia class
Constructors
Properties
- applicationId → String
-
A variable that is used to store the application id.
final
-
extraHeaders
→ Map<
String, String> -
Used to store the extra headers that are passed in the constructor.
final
-
extraUserAgents
→ List<
String> -
Used to add extra user agents to the request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance → Algolia
-
A getter that returns a new instance of Algolia.
no setter
- multipleQueries → AlgoliaMultiIndexesReference
-
A getter that returns a new instance of AlgoliaMultiIndexesReference.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getIndices(
) → Future< AlgoliaIndexesSnapshot> -
It makes a GET request to the
/1/indexes
endpoint, and returns anAlgoliaIndexesSnapshot
object -
index(
String index) → AlgoliaIndexReference - Return an AlgoliaIndexReference object that is a reference to the index with the given name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pushEvents(
List< AlgoliaEvent> events) → Future<void> - Pushes an array of events to the Insights API.
-
setHeader(
String key, String value) → Algolia -
The
setHeader
function takes in akey
andvalue
and returns a new instance ofAlgolia
with theextraHeaders
updated -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited