Quick and dirty mapping for the PostHog API.
dependencies:
posthog_dart:
git:
url: https://github.com/necodeIT/posthog_dart.git
In your main method call PostHog.init(host: 'your-api-key', host: 'example.com')
. After that you can capture events by calling PostHog().capture()
.