getDistance method

Future<double?> getDistance()

Implementation

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

  // invoke native method
  final __result__ = await kAmapSearchFluttifyChannel.invokeMethod('com.amap.api.services.road.Crossroad::getDistance', {"__this__": this});


  // handle native call


  return __result__;
}