setModifier method
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);
}
Set whether the given modifier
is associated with this element to
correspond to the given value
.
void setModifier(Modifier modifier, bool value) {
_modifiers = _modifiers.updated(modifier, value);
}