nativeSearchVersion property

Future<Map> nativeSearchVersion

获取原生地图search组件版本号

return 平台:xx 组件:xx 版本号:xx eg: {'platform':'ios', 'component': 'search', version':'6.0.0'}

Implementation

static Future<Map> get nativeSearchVersion async {
  Map result;
  try {
    result = await MethodChannel('flutter_bmfsearch')
            .invokeMethod('flutter_bmfsearch/search/getNativeSearchVersion')
        as Map;
  } on PlatformException catch (e) {
    print(e.toString());
  }
  return result;
}