hasFlag method

bool hasFlag(
  1. EnumFlags flag
)

Implementation

bool hasFlag(EnumFlags flag) => this & flag.value == flag.value;