create_batch__double__double static method

Future<List<com_amap_api_location_DPoint>> create_batch__double__double(
  1. List<double> var1,
  2. List<double> var3
)

Implementation

static Future<List<com_amap_api_location_DPoint>> create_batch__double__double(List<double> var1, List<double> var3) async {
  assert(var1.length == var3.length);
  final __result_batch__ = await  kAmapLocationFluttifyChannel.invokeListMethod(
    'ObjectFactory::create_batchcom_amap_api_location_DPoint__double__double',
    [for (int __i__ = 0; __i__ < var1.length; __i__++) {"var1": var1[__i__], "var3": var3[__i__]}]
  );
  return __result_batch__
      ?.map((it) => AmapLocationFluttifyAndroidAs<com_amap_api_location_DPoint>(it))
      .where((element) => element !=null)
      .cast<com_amap_api_location_DPoint>()
      .toList() ?? <com_amap_api_location_DPoint>[];
}