setModifier method

void setModifier(
  1. Modifier modifier,
  2. bool value
)
inherited

Set whether the given modifier is associated with this element to correspond to the given value.

Implementation

void setModifier(Modifier modifier, bool value) {
  _modifiers = _modifiers.updated(modifier, value);
}