call method

void call(
  1. dynamic newVal
)

Implementation

void call(newVal) {
  value = newVal;
  if (hasListeners) notifyListeners();
}