getErrorCode method

Future<int?> getErrorCode()

Implementation

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

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


  // handle native call


  return __result__;
}