justReleased static method

bool justReleased(
  1. GKey key
)

Checks if a key has been released and returns a boolean value.

Implementation

static bool justReleased(GKey key) {
  var wasDown = _justReleased[key] != null;
  _justReleased.remove(key);
  return wasDown;
}