Aptabase class

Aptabase Client for Flutter

Initialize the client with Aptabase.init(appKey) and then use Aptabase.instance.trackEvent(eventName, props) to record events.

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited
trackEvent(String eventName, [Map<String, dynamic>? props]) Future<void>
Records an event with the given name and optional properties.

Operators

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

Static Properties

instance Aptabase
final

Static Methods

init(String appKey, [InitOptions opts = const InitOptions(), StorageManager? storage]) Future<void>
Initializes the Aptabase SDK with the given appKey.