reportException method
Implementation
@override
void reportException(
{required String exception, required String stackTrace}) {
if (!kDebugMode) {
methodChannel.invokeMethod('reportException', {
"exception": exception,
"stackTrace": stackTrace,
});
}
}