create_batch__ static method

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

Implementation

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