reportException method

  1. @override
void reportException({
  1. required String exception,
  2. required String stackTrace,
})
override

Implementation

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