ButtonState constructor

ButtonState(
  1. String state
)

Implementation

ButtonState(String state) {
  name = state;
}