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