getAltitude method

Future<double?> getAltitude()

Implementation

Future<double?> getAltitude() async {
  // print log
  if (fluttifyLogEnabled) {
    debugPrint('fluttify-dart: com.amap.api.location.AMapLocation@$refId::getAltitude([])');
  }

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


  // handle native call


  return __result__;
}