BlocEvent<T, P> class

Base class for all events of a TBloc.

Annotations

Constructors

BlocEvent({P? payload, Object? error, T? type})
const

Properties

error Object?
The error of the event.
final
hashCode int
The hash code for this object.
no setterinherited
payload → P?
The payload of the event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → T?
The type of the event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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