setAutomaticDataCollectionEnabled method

Future<void> setAutomaticDataCollectionEnabled(
  1. bool enabled
)

Sets whether automatic data collection is enabled or disabled for this app.

To check whether it is currently enabled or not, call isAutomaticDataCollectionEnabled.

Implementation

Future<void> setAutomaticDataCollectionEnabled(bool enabled) {
  return _delegate.setAutomaticDataCollectionEnabled(enabled);
}