onCreate method
- @protected
- @mustCallSuper
- BlocBase bloc
inherited
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.
Implementation
@protected
@mustCallSuper
void onCreate(BlocBase<dynamic> bloc) {}