type method
Types keys
into this element, if possible (e.g. for an input element).
focusBefore
indicates whether to focus this element before typing.
blurAfter
indicates whether to blur this element after typing.
Implementation
@override
Future<Null> type(String keys,
{bool focusBefore = true, bool blurAfter = true}) async {
await syncFn(() async => _retryWhenStale(() async {
if (focusBefore) await focus();
await _typeSequence(_keysToKeyboard(keys));
if (blurAfter) await blur();
}));
}