createAMapRouteConfig function

Future<AMapRouteConfig> createAMapRouteConfig()

Implementation

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

  kNativeObjectPool.add(object);
  return object;
}