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