createAMapServices function

Future<AMapServices> createAMapServices()

Implementation

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

  kNativeObjectPool.add(object);
  return object;
}