refreshStatus static method
void
refreshStatus(
- dynamic status
Updates the stored value for a given status and notifies
all widgets that are subscribed to that status type.
Example:
refreshStatus(MyEnum.loading);
Implementation
static void refreshStatus(dynamic status) {
Reactivity._status[ValueKey(status.runtimeType)] = status;
notifier.updateStatus(status);
}