reportException method
custom report exception
Implementation
@override
void reportException(String errorMsg, String stackInfo) {
methodChannel.invokeMethod(
methodReportException, {"errorMsg": errorMsg, "stackInfo": stackInfo});
}
custom report exception
@override
void reportException(String errorMsg, String stackInfo) {
methodChannel.invokeMethod(
methodReportException, {"errorMsg": errorMsg, "stackInfo": stackInfo});
}