nativeBaseVersion property
获取原生地图base组件版本号
return 平台:xx 组件:xx 版本号:xx eg: {'platform':'ios', 'component': 'base', version':'6.0.0'}
Implementation
static Future<Map> get nativeBaseVersion async {
Map result;
try {
result = await MethodChannel('flutter_bmfbase')
.invokeMethod('flutter_bmfbase/sdk/getNativeBaseVersion') as Map;
} on PlatformException catch (e) {
print(e.toString());
}
return result;
}