has method

bool has(
  1. int flag
)

Check if a flag is present in the current KeyboardEnhancementFlagsEvent.

Implementation

bool has(int flag) => flags.isSet(flag);