contains method

bool contains(
  1. ResourceKindFlag other
)
inherited

Whether every bit of other is set in this value.

Implementation

bool contains(T other) => (rawValue & other.rawValue) == other.rawValue;