create_batch method

Future<List<CGPoint>> create_batch(
  1. List<double> x,
  2. List<double> y
)

Implementation

static Future<List<CGPoint>> create_batch(
  List<double> x,
  List<double> y,
) async {
  final refIdBatch = await kMethodChannel
      .invokeMethod('CGPoint::create_batch', {'x': x, 'y': y});
  return [for (final refId in refIdBatch) CGPoint()..refId = refId];
}