autCenter method Null safety

Future<int> autCenter(
  1. {dynamic command,
  2. dynamic x,
  3. dynamic y,
  4. dynamic width,
  5. dynamic size,
  6. dynamic str}
)

Implementation

static Future<int> autCenter({command, x, y, width, size, str}) async {
  final int p = await _channel.invokeMethod('autCenter', {
    'command': command,
    'x': x,
    'y': y,
    'width': width,
    'size': size,
    'str': str,
  });
  return p;
}