startDebug method
Attaches the AppBlocObserver to the global Bloc.observer when running in staging.
Has no effect in production.
Implementation
Future<void> startDebug() async {
if (isStaging) {
Bloc.observer = AppBlocObserver();
}
}
Attaches the AppBlocObserver to the global Bloc.observer when running in staging.
Has no effect in production.
Future<void> startDebug() async {
if (isStaging) {
Bloc.observer = AppBlocObserver();
}
}