key method

Future<FlutterInputMiss?> key(
  1. String key, {
  2. int count = 1,
})

Presses an editing key (key is a KeyName name) count times in the focused Flutter field; null when delivered.

Implementation

Future<FlutterInputMiss?> key(String key, {int count = 1}) async =>
    editingKeys.contains(key) ? _call({'op': 'key', 'key': key, 'count': '$count'}) : FlutterInputMiss.unsupportedKey;