AppbaseSettings class

AppbaseSettings allows you to customize the analytics experience when appbase.io is used as a backend.

Constructors

AppbaseSettings({bool recordAnalytics, bool enableQueryRules, String userId, Map<String, String> customEvents})

Properties

customEvents Map<String, String>
It allows you to set the custom events which can be used to build your own analytics on top of appbase.io analytics. Further, these events can be used to filter the analytics stats from the appbase.io dashboard.
read / write
enableQueryRules bool
If false, then appbase.io will not apply the query rules on the search requests. Defaults to true.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
recordAnalytics bool
allows recording search analytics (and click analytics) when set to true and appbase.io is used as a backend. Defaults to false.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId String
It allows you to define the user id to be used to record the appbase.io analytics. Defaults to the client's IP address.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJSON() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited