sendKeys method Null safety

Future<void> sendKeys(
  1. String keysToSend
)

Sends keys to the currently displayed alert (may not be the alert for which this object was created).

Throws NoSuchAlertException if there isn't currently an alert

Implementation

Future<void> sendKeys(String keysToSend) => _client.send(
    _handler.alert.buildSendTextRequest(keysToSend),
    _handler.alert.parseSendTextResponse);