Posthog class

Constructors

Posthog()
factory

Properties

currentScreen String?
getter/setter pair
getAnonymousId Future<String?>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

alias({required String alias, Map<String, dynamic>? options}) Future<void>
capture({required String eventName, Map<String, dynamic>? properties, Map<String, dynamic>? options}) Future<void>
debug(bool enabled) Future<void>
disable() Future<void>
enable() Future<void>
identify({required dynamic userId, Map<String, dynamic>? properties, Map<String, dynamic>? options}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() Future<void>
screen({required String screenName, Map<String, dynamic>? properties, Map<String, dynamic>? options}) Future<void>
setContext(Map<String, dynamic> context) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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