updateValue method

void updateValue(
  1. dynamic data
)

Implementation

void updateValue(dynamic data) {
  _data = data;
  notifyListeners();
}