setCustomState method
add or set move _state
from customState and rebuild
Implementation
void setCustomState(S _state, bool isSet) {
return isSet ? addCustomState(_state) : removeCustomState(_state);
}
add or set move _state
from customState and rebuild
void setCustomState(S _state, bool isSet) {
return isSet ? addCustomState(_state) : removeCustomState(_state);
}