hasFlag method

bool hasFlag(
  1. Flags flag
)

Implementation

bool hasFlag(Flags flag) => (value & flag.value) != 0;