box method Null safety

Future<int> box(
  1. {dynamic x0,
  2. dynamic y0,
  3. dynamic x1,
  4. dynamic y1,
  5. dynamic width}
)

Implementation

static Future<int> box({x0, y0, x1, y1, width}) async {
  final int p = await _channel.invokeMethod(
      'box', {'x0': x0, 'y0': y0, 'x1': x1, 'y1': y1, 'width': width});
  return p;
}