toActive method

void toActive()

Change state of appStateProvider.

Implementation

void toActive() =>
    ref.read(appStateProvider.notifier).state = AppState.active(ref);