createAMapPOIConfig function

Future<AMapPOIConfig> createAMapPOIConfig()

Implementation

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

  kNativeObjectPool.add(object);
  return object;
}