contains method

bool contains(
  1. Modifier other
)

Whether this set contains all flags in other.

Implementation

bool contains(Modifier other) => (bits & other.bits) == other.bits;