getCityCode method

Future<String?> getCityCode()

Implementation

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

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


  // handle native call


  return __result__;
}