Returns true if this and other have any of the same keyIds.
true
other
keyId
bool equals(KeyCode other) => keyIds.any((key) => other.keyIds.contains(key));