isEscape property

bool get isEscape

Whether this is the Escape key.

Implementation

bool get isEscape => type == KeyType.escape;