BlocEventsPrinter<R extends Bloc<S>, S> class

Implemented types

Constructors

BlocEventsPrinter()
const

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
onBroadcast(R bloc, S? state, {String? event}) → void
Called when the bloc broadcasts a new state to the connected builders
override
onBusy(R bloc, {String? event}) → void
Called whenever the bloc is set to busy
override
onError(R bloc, StateError error, {String? event}) → void
Called whenever the bloc encounters an error
override
onEvent(R bloc, S? currentState, S? update, {String? event}) → void
Called when bloc calls the setState method
override
onInit(R bloc, S? initState) → void
Called when the bloc is being initialized
override
onStreamDispose(R bloc) → void
Called when the internal stream of the bloc is being disposed (because it has no more listeners)
override
onStreamListener(R bloc) → void
Called when a builder starts listening to this bloc's broadcasts
override
toString() String
A string representation of this object.
inherited

Operators

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