reportException method

  1. @override
void reportException(
  1. String errorMsg,
  2. String stackInfo
)
override

custom report exception

Implementation

@override
void reportException(String errorMsg, String stackInfo) {
  methodChannel.invokeMethod(
      methodReportException, {"errorMsg": errorMsg, "stackInfo": stackInfo});
}