WebDriverCommand.screenshot constructor Null safety

WebDriverCommand.screenshot(
  1. String screenshotName
)

Constructor for WebDriverCommandType.noop screenshot.

Implementation

WebDriverCommand.screenshot(String screenshotName)
    : type = WebDriverCommandType.screenshot,
      values = <String, dynamic>{'screenshot_name': screenshotName};