alert property Null safety

Alert alert

Switches to the currently active modal dialog for this particular driver instance.

Throws NoSuchAlertException if there is not currently an alert.

Implementation

Alert get alert => Alert(_client, _handler);