SimpleBlocObserver class

Bloc Observer For Flutter Instamojo Plugin

Constructors

SimpleBlocObserver()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(BlocBase bloc, Change change) → void
Called whenever a Change occurs in any bloc A change occurs when a new state is emitted. onChange is called before a bloc's state has been updated.
inherited
onClose(BlocBase bloc) → void
Called whenever a Bloc is closed. onClose is called just before the Bloc is closed and indicates that the particular instance will no longer emit new states.
inherited
onCreate(BlocBase bloc) → void
Called whenever a Bloc is instantiated. In many cases, a cubit may be lazily instantiated and onCreate can be used to observe exactly when the cubit instance is created.
inherited
onError(BlocBase bloc, Object error, StackTrace stackTrace) → void
Bloc Observer override method for onError For Flutter Instamojo Plugin
onEvent(Bloc bloc, Object? event) → void
Called whenever an event is added to any bloc with the given bloc and event.
inherited
onTransition(Bloc bloc, Transition transition) → void
Bloc Observer override method for onTransition For Flutter Instamojo Plugin
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited