buttonUp method Null safety

void buttonUp()

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);
  }
}