hasModifier method

bool hasModifier(
  1. Modifier modifier
)
inherited

Return true if this element has the given modifier associated with it.

Implementation

bool hasModifier(Modifier modifier) =>
    BooleanArray.get(_modifiers, modifier.ordinal);