optOut method
Disable all telemetry collection. Pending events are flushed first.
Implementation
Future<void> optOut() async {
_config.enabled = false;
await flush();
_flushTimer?.cancel();
}
Disable all telemetry collection. Pending events are flushed first.
Future<void> optOut() async {
_config.enabled = false;
await flush();
_flushTimer?.cancel();
}