BlocEventsPrinter 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(String blocName, dynamic state, {String? event}) → void
Called when the bloc broadcasts a new state to the connected builders
override
onBusy(String blocName, {String? event}) → void
Called whenever the bloc is set to busy
override
onError(String blocName, StateError error, {String? event}) → void
Called whenever the bloc encounters an error
override
onEvent(String blocName, dynamic currentState, dynamic update, {String? event}) → void
Called when bloc calls the setState method
override
onInit(String blocName, dynamic initState) → void
Called when the bloc is being initialized
override
onStreamDispose(String blocName) → void
Called when the internal stream of the bloc is being disposed (because it has no more listeners)
override
onStreamListener(String blocName) → 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