startZhichi method

Future startZhichi(
  1. dynamic initParams
)

Implementation

Future<dynamic> startZhichi(initParams) async {
  try {
    final result =
    sobotMethodChannel.invokeMethod(startZhichiMethod, initParams);
    return result;
  } on PlatformException catch (e) {
    //抛出异常
    print(e);
    return {};
  }
}