screenshot method Null safety

Future<List<int>> screenshot()

Takes screenshot via WebDriver.

Implementation

Future<List<int>> screenshot()  => _driver.captureScreenshotAsList();