setDataSendingEnabled static method
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);