enterText method
Enters text into the native UI element matching the given criteria.
Implementation
Future<void> enterText({
required String text,
String? name,
String? className,
int? index,
}) async {
config.logger('enterText(text: $text, name: $name)');
await _channel.invokeMethod<void>('enterText', {
'text': text,
'name': ?name,
'className': ?className,
'index': ?index,
'timeoutMs': config.findTimeout.inMilliseconds,
});
}