pinch method
Two fingers around a physical point, spreading or closing until their span is scale times what it was.
Implementation
@override
Future<void> pinch({required int physicalX, required int physicalY, required double scale, int durationMs = 400}) {
final from = 120 * devicePixelRatio / pixelWidth * 65535;
final center = _point(physicalX, physicalY, 0);
return _call({
'cmd': 'pinch',
'cx': center[0],
'cy': center[1],
'fromSpan': from,
'toSpan': (from * scale).clamp(800, 60000),
'ms': durationMs,
}, extraMs: durationMs);
}