Future<String> submitInputText(SerializableFinder finder)

Submits the current text value of the Input widget located by finder.

This command invokes the onSubmitted handler of the Input widget and the returns the submitted text value.

Source

Future<String> submitInputText(SerializableFinder finder) async {
  Map<String, dynamic> json = await _sendCommand(new SubmitInputText(finder));
  return json['text'];
}