openAMapNavigation method

Future<bool> openAMapNavigation(
  1. AMapNaviConfig config
)

Implementation

static Future<bool> openAMapNavigation(AMapNaviConfig config) async {
  // print log
  if (fluttifyLogEnabled) {
    print('fluttify-dart: AMapURLSearch::openAMapNavigation([])');
  }

  // invoke native method
  final result = await MethodChannel('me.yohom/amap_core_fluttify').invokeMethod('AMapURLSearch::openAMapNavigation', {"config": config.refId});


  // handle native call


  // convert native result to dart side object
  if (result == null) {
    return null;
  } else {

    return result;
  }
}