arm method
void
arm()
Starts the timeout if the decoder is holding a lone ESC.
Implementation
void arm() {
cancel();
if (!_decoder.hasPendingEscape) return;
_timer = Timer(KeyDecoder.escapeTimeout, () {
_timer = null;
if (_decoder.hasPendingEscape) _onEscape(_decoder.flush());
});
}