getExposedValue method
Listened
getExposedValue()
Returns the currently exposed by a provider
May throw if the provider threw when creating the exposed value.
Implementation
Listened getExposedValue() {
assert(
!_dependencyMayHaveChanged,
'Called getExposedValue without calling flush before',
);
if (_exception != null) {
throw _exception!;
}
return state._exposedValue as Listened;
}