Posthog class

Constructors

Posthog()
factory

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

alias({required String alias}) Future<void>
capture({required String eventName, Map<String, Object>? properties}) Future<void>
debug(bool enabled) Future<void>
disable() Future<void>
enable() Future<void>
flush() Future<void>
getDistinctId() Future<String>
getFeatureFlag(String key) Future<Object?>
getFeatureFlagPayload(String key) Future<Object?>
group({required String groupType, required String groupKey, Map<String, Object>? groupProperties}) Future<void>
identify({required String userId, Map<String, Object>? userProperties, Map<String, Object>? userPropertiesSetOnce}) Future<void>
isFeatureEnabled(String key) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String key, Object value) Future<void>
reloadFeatureFlags() Future<void>
reset() Future<void>
screen({required String screenName, Map<String, Object>? properties}) Future<void>
toString() String
A string representation of this object.
inherited
unregister(String key) Future<void>

Operators

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