setDataSendingEnabled static method

Future<void> setDataSendingEnabled(
  1. bool enabled
)

Enables/disables sending statistics to the AppMetrica server.

Disabling sending for the main API key also disables sending data from all reporters that were initialized with another API key.

Implementation

static Future<void> setDataSendingEnabled(bool enabled) =>
    _appMetrica.setDataSendingEnabled(enabled);