isFlagSet method

bool isFlagSet(
  1. Flag flag
)

A method to test with a specific global flag has been set.

This is for interal useage.

Implementation

bool isFlagSet(Flag flag) => _selectedFlags.containsValue(flag);