BMKConvertBaiduCoorFrom function
Implementation
Future<Map?> BMKConvertBaiduCoorFrom(CLLocationCoordinate2D coordinate, BMK_COORD_TYPE type) async {
// print log
if (fluttifyLogEnabled) {
debugPrint('fluttify-dart: BMKConvertBaiduCoorFrom::BMKConvertBaiduCoorFrom([])');
}
// invoke native method
final __result__ = await kBmapUtilsFluttifyChannel.invokeMethod('BMKConvertBaiduCoorFrom::BMKConvertBaiduCoorFrom', {"coordinate": coordinate, "type": type.toValue()});
// handle native call
return __result__;
}