debug method

Future<void> debug(
  1. bool enabled
)

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);
}