debug method
Implementation
Future<void> debug(bool enabled) {
if (Platform.isAndroid) {
throw Exception('Debug flag cannot be dynamically set on Android.\n'
'Add to AndroidManifest and avoid calling this method when Platform.isAndroid.');
}
return _posthog.debug(enabled);
}