update method

void update(
  1. String value
)

Implementation

void update(String value) {
  state = value;
  ref.notifyListeners();
}