sharedServices_batch method

Future<List<AMapServices>> sharedServices_batch()

Implementation

static Future<List<AMapServices>> sharedServices_batch() async {
  if (false) {
    return Future.error('all args must have same length!');
  }

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


  // convert native result to dart side object
  if (resultBatch == null) {
    return null;
  } else {
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => AMapServices()..refId = __result__..tag__ = 'amap_core_fluttify').toList();
    return typedResult;
  }
}