getLastKnownLocation_batch method

Future<List<com_amap_api_location_AMapLocation?>> getLastKnownLocation_batch()

Implementation

Future<List<com_amap_api_location_AMapLocation?>> getLastKnownLocation_batch() async {
  assert(true);

  // invoke native method
  final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('com.amap.api.location.AMapLocationClient::getLastKnownLocation_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {"__this__": this[__i__]}]);


  return (resultBatch as List).map((__result__) => AmapLocationFluttifyAndroidAs<com_amap_api_location_AMapLocation>(__result__)).cast<com_amap_api_location_AMapLocation?>().toList();
}