equals method

bool equals(
  1. KeyCode other
)

Returns true if this and other have any of the same keyIds.

Implementation

bool equals(KeyCode other) => keyIds.any((key) => other.keyIds.contains(key));