enableStatistics method

Future<void> enableStatistics()

Enables statistics events.

Implementation

Future<void> enableStatistics() async {
  try {
    await _methodChannel.invokeMethod('enableStatistics');
  } on PlatformException catch (e) {
    logger.e('Plugin enableStatistics error: ${e.message}');
  }
}