create_batch__ static method

Future<List<com_amap_api_services_route_DriveRoutePlanResult>> create_batch__(
  1. int length
)
override

Implementation

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