create_batch__ static method

Implementation

static Future<List<com_amap_api_services_route_District>> create_batch__(int length) async {
  assert(true);
  final __result_batch__ = await  kAmapSearchFluttifyChannel.invokeListMethod(
    'ObjectFactory::create_batchcom_amap_api_services_route_District__',
    {'length': length}
  );
  return __result_batch__
      ?.map((it) => AmapSearchFluttifyAndroidAs<com_amap_api_services_route_District>(it))
      .where((element) => element !=null)
      .cast<com_amap_api_services_route_District>()
      .toList() ?? <com_amap_api_services_route_District>[];
}