isEnter property

bool get isEnter

Whether this is the Enter key (with or without modifiers).

Implementation

bool get isEnter => type == KeyType.enter;