buttonUp method Null safety
Finish the operation started by buttonDown. This is meaningful for some keys, like SST, show-hex and clear-prefix.
Implementation
void buttonUp() {
Operation? k = lastKey;
if (k != null) {
state.buttonUp(k);
}
}