getCountry method

Future<String?> getCountry()

Implementation

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

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


  // handle native call


  return __result__;
}