setFlag method

void setFlag(
  1. Flag flag
)

A method to set a global flag.

Implementation

void setFlag(Flag flag) {
  _selectedFlags[flag.name] = flag;
}