sharedServices method

Future<AMapServices> sharedServices()

Implementation

static Future<AMapServices> sharedServices() async {
  // print log
  if (fluttifyLogEnabled) {
    debugPrint('fluttify-dart: AMapServices::sharedServices([])');
  }

  // invoke native method
  final __result__ = await MethodChannel('me.yohom/amap_core_fluttify', StandardMethodCodec(FluttifyMessageCodec('amap_core_fluttify'))).invokeMethod('AMapServices::sharedServices', );


  // handle native call


  // convert native result to dart side object
  if (__result__ == null) {
    return null;
  } else {
    final __return__ = AMapServices()..refId = __result__..tag__ = 'amap_core_fluttify';
    return __return__;
  }
}