createAMapURLSearch function

Future<AMapURLSearch> createAMapURLSearch()

Implementation

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

  kNativeObjectPool.add(object);
  return object;
}