ReportException method
Implementation
Future<void> ReportException(String name,String reason,String message,int type,bool isSync,) async{
var req = {
"name": name,
"reason": reason,
"message": message,
"type": type,
"isSync": isSync,
};
await methodChannel.invokeListMethod('ReportException',req);
return;
}