screenshot method

  1. @override
Future<ScreenshotResult> screenshot(
  1. String path
)
override

Capture a PNG to path for device-mode perception; also the coordinate reference (ratio = pixel / size).

Implementation

@override
Future<ScreenshotResult> screenshot(String path) => sim.screenshot(path);