getRequest method Null safety

dynamic getRequest(
  1. String command
)

Performs get request on command to the WebDriver server.

For use by supporting WebDriver packages.

Implementation

dynamic getRequest(String command) => _client.send(
    _handler.buildGeneralRequest(HttpMethod.httpGet, command),
    (response) => _handler.parseGeneralResponse(
        response, (elementId) => getElement(elementId, this)));