AMapDataAvailableForCoordinate function

Future<bool> AMapDataAvailableForCoordinate(
  1. CLLocationCoordinate2D coordinate
)

Implementation

Future<bool> AMapDataAvailableForCoordinate(CLLocationCoordinate2D coordinate) async {
  // print log
  if (fluttifyLogEnabled) {
    debugPrint('fluttify-dart: AMapDataAvailableForCoordinate::AMapDataAvailableForCoordinate([])');
  }

  // invoke native method
  final __result__ = await MethodChannel('me.yohom/amap_core_fluttify', StandardMethodCodec(FluttifyMessageCodec('amap_core_fluttify'))).invokeMethod('AMapDataAvailableForCoordinate::AMapDataAvailableForCoordinate', {"coordinate": coordinate});


  // handle native call


  // convert native result to dart side object
  if (__result__ == null) {
    return null;
  } else {
    return __result__;
  }
}