readSelf method

State readSelf()

Returns the currently exposed by a provider

May throw if the provider threw when creating the exposed value.

Implementation

State readSelf() {
  flush();

  return requireState;
}