createAMapNaviConfig function

Future<AMapNaviConfig> createAMapNaviConfig()

Implementation

Future<AMapNaviConfig> createAMapNaviConfig() async {
  final int refId = await _channel.invokeMethod('ObjectFactory::createAMapNaviConfig');
  final object = AMapNaviConfig()..refId = refId..tag = 'amap_core_fluttify';

  kNativeObjectPool.add(object);
  return object;
}