TerminalScriptStep.key constructor
const
TerminalScriptStep.key(
- KeyEventType key, [
- String? char
Creates a step that queues key through MockTerminalInput.queueKey.
Implementation
const TerminalScriptStep.key(KeyEventType this.key, [this.char])
: kind = TerminalScriptStepKind.key,
text = null;