PosthogFlutterWeb class

A web implementation of the PosthogFlutterPlatform of the PosthogFlutter plugin.

Inheritance
  • Object
  • PlatformInterface
  • PosthogFlutterWeb

Constructors

PosthogFlutterWeb()
Constructs a PosthogFlutterWeb

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>
captureException({required Object error, StackTrace? stackTrace, Map<String, Object>? properties}) Future<void>
close() Future<void>
debug(bool enabled) Future<void>
disable() Future<void>
enable() Future<void>
flush() Future<void>
getDistinctId() Future<String>
getFeatureFlag({required String key}) Future<Object?>
getFeatureFlagPayload({required String key}) Future<Object?>
getSessionId() Future<String?>
group({required String groupType, required String groupKey, Map<String, Object>? groupProperties}) Future<void>
handleMethodCall(MethodCall call) Future
identify({required String userId, Map<String, Object>? userProperties, Map<String, Object>? userPropertiesSetOnce}) Future<void>
isFeatureEnabled(String key) Future<bool>
isOptOut() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openUrl(String url) Future<void>
Opens a URL using the platform's default browser
register(String key, Object value) Future<void>
reloadFeatureFlags() Future<void>
reset() Future<void>
screen({required String screenName, Map<String, Object>? properties}) Future<void>
setup(PostHogConfig config) Future<void>
showSurvey(Map<String, dynamic> survey) 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

Static Methods

registerWith(Registrar registrar) → void