getDistance method
Implementation
Future<int?> getDistance() async {
// print log
if (fluttifyLogEnabled) {
debugPrint('fluttify-dart: com.amap.api.services.cloud.CloudItem@$refId::getDistance([])');
}
// invoke native method
final __result__ = await kAmapSearchFluttifyChannel.invokeMethod('com.amap.api.services.cloud.CloudItem::getDistance', {"__this__": this});
// handle native call
return __result__;
}