select method

void select(
  1. String id
)

Implementation

void select(String id) {
  state = id;
  ref.notifyListeners();
}