updateValue property

T get updateValue

Returns the current value of the Pod and calls refresh.

Note: the value returned is the current value, not the post-refresh value. refresh schedules an async notify; the read happens synchronously. Callers that need the post-refresh value should await pod.refresh(); read pod.value;.

Implementation

T get updateValue {
  refresh();
  return value;
}