InsightsClient class
final
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
options
→ ClientOptions
A set of custom client options to configure the behavior of the API client.
final
region
→ String ?
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
customDelete ({required String path , Map <String , Object > ? parameters , RequestOptions ? requestOptions })
→ Future <Object >
This method lets you send requests to the Algolia REST API.
customGet ({required String path , Map <String , Object > ? parameters , RequestOptions ? requestOptions })
→ Future <Object >
This method lets you send requests to the Algolia REST API.
customPost ({required String path , Map <String , Object > ? parameters , Object ? body , RequestOptions ? requestOptions })
→ Future <Object >
This method lets you send requests to the Algolia REST API.
customPut ({required String path , Map <String , Object > ? parameters , Object ? body , RequestOptions ? requestOptions })
→ Future <Object >
This method lets you send requests to the Algolia REST API.
del ({required String path , Map <String , Object > ? parameters , Object ? body , RequestOptions ? requestOptions })
→ Future <Object >
deleteUserToken ({required String userToken , RequestOptions ? requestOptions })
→ Future <void >
Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see Delete a user profile
in the Personalization API.
dispose ()
→ void
Dispose of underlying resources.
override
get ({required String path , Map <String , Object > ? parameters , Object ? body , RequestOptions ? requestOptions })
→ Future <Object >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post ({required String path , Map <String , Object > ? parameters , Object ? body , RequestOptions ? requestOptions })
→ Future <Object >
pushEvents ({required InsightsEvents insightsEvents , RequestOptions ? requestOptions })
→ Future <EventsResponse >
Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2 MB.
put ({required String path , Map <String , Object > ? parameters , Object ? body , RequestOptions ? requestOptions })
→ Future <Object >
setClientApiKey ({required String apiKey })
→ void
Allows to switch the API key used to authenticate requests.
override
toString ()
→ String
A string representation of this object.
inherited