setProviderState method
Sets what client.state reports, immediately.
This changes only the state. Flag values stay as you set them, so to test the experience before flags arrive, also remove the flags your widget reads with removeFlag. Throws a StateError after shutdown
Implementation
void setProviderState(ProviderState state) =>
_backend.setProviderState(state);