AMapDataAvailableForCoordinate function

Future<bool> AMapDataAvailableForCoordinate(
  1. CLLocationCoordinate2D coordinate
)

Implementation

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

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


  // handle native call


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

    return result;
  }
}