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