releasePressedButton method Null safety

void releasePressedButton()

Implementation

void releasePressedButton() {
  _extraShiftThatIsDown?.keyReleased();
  _extraShiftThatIsDown = null;
  _buttonThatIsDown?.keyReleased();
  _buttonThatIsDown = null;
}