select method

void select(
  1. String value
)

Implementation

void select(String value) {
  if (value != this.value) {
    this.value = value;
  }
}