create_batch__ static method

Future<List<AMapLocationManager>> create_batch__(
  1. int length,
  2. {bool init = true}
)

Implementation

static Future<List<AMapLocationManager>> create_batch__(int length, { bool init = true /* ios only */ }) async {
  assert(true);
  final __result_batch__ = await  kAmapLocationFluttifyChannel.invokeListMethod(
    'ObjectFactory::create_batchAMapLocationManager',
    {'length': length, 'init': init}
  );
  return __result_batch__
      ?.map((it) => AmapLocationFluttifyIOSAs<AMapLocationManager>(it))
      .where((element) => element !=null)
      .cast<AMapLocationManager>()
      .toList() ?? <AMapLocationManager>[];
}