ISpectifyBlocObserver constructor
ISpectifyBlocObserver({
- ISpectify? iSpectify,
- ISpectifyBlocSettings settings = const ISpectifyBlocSettings(),
- void onBlocEvent(
- Bloc bloc,
- Object? event
- void onBlocTransition(
- Bloc bloc,
- Transition transition
- void onBlocChange(
- BlocBase bloc,
- Change change
- void onBlocError(
- BlocBase bloc,
- Object error,
- StackTrace stackTrace
- void onBlocCreate(
- BlocBase bloc
- void onBlocClose(
- BlocBase bloc
- List<
String> filters = const [],
Implementation
ISpectifyBlocObserver({
ISpectify? iSpectify,
this.settings = const ISpectifyBlocSettings(),
this.onBlocEvent,
this.onBlocTransition,
this.onBlocChange,
this.onBlocError,
this.onBlocCreate,
this.onBlocClose,
this.filters = const [],
}) {
_iSpectify = iSpectify ?? ISpectify();
}