enableStatistics method Null safety
Enables statistics events.
Implementation
Future<void> enableStatistics() async {
try {
await _methodChannel.invokeMethod('enableStatistics');
} on PlatformException catch (e) {
print('Plugin enableStatistics error: ${e.message}');
}
}