getCenter method

Implementation

Future<com_amap_api_location_DPoint?> getCenter() async {
  // print log
  if (fluttifyLogEnabled) {
    debugPrint('fluttify-dart: com.amap.api.fence.GeoFence@$refId::getCenter([])');
  }

  // invoke native method
  final __result__ = await kAmapLocationFluttifyChannel.invokeMethod('com.amap.api.fence.GeoFence::getCenter', {"__this__": this});


  // handle native call


  return AmapLocationFluttifyAndroidAs<com_amap_api_location_DPoint>(__result__);
}