setAutomaticDataCollectionEnabled method

Future<void> setAutomaticDataCollectionEnabled(
  1. bool enabled
)

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

It is possible to check whether data collection is currently enabled via the FirebaseApp.isAutomaticDataCollectionEnabled property.

Implementation

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