Specifies whether to enable event collection.
Future<void> setAnalyticsEnabled(bool enabled) async { await _channel.invokeMethod('setAnalyticsEnabled', {'enabled': enabled}); }