getCrashInfo static method

Future<String> getCrashInfo()

获取x5的日志

Implementation

static Future<String> getCrashInfo() async {
  if (defaultTargetPlatform == TargetPlatform.android) {
    var res = await _channel.invokeMethod("getCarshInfo");
    return res;
  } else {
    return "";
  }
}