create_batch__ static method

Future<List<com_amap_api_location_UmidtokenInfo>> create_batch__(
  1. int length
)

Implementation

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