MatexCountryBlocEvent class
Represents events that can be dispatched to the MatexCountryBloc.
This class extends the BlocEvent
class from the tbloc
package. It
provides two specific events for the MatexCountryBloc: initialization
(init
) and post-initialization (initialized
).
init
event: Indicates that the bloc should be initialized.initialized
event: Informs that the bloc has been successfully initialized with a list of MatexCountryMetadata objects.
- Inheritance
-
- Object
- BlocEvent<
MatexCountryBlocEventType, MatexCountryBlocEventPayload> - MatexCountryBlocEvent
Constructors
- MatexCountryBlocEvent.init({String? jsonData})
-
Creates an
init
event for the MatexCountryBloc. -
MatexCountryBlocEvent.initialized(List<
MatexCountryMetadata> countries) -
Creates an
initialized
event for the MatexCountryBloc.
Properties
- error → Object?
-
The error of the event.
finalinherited
- forceBuild → bool
-
Indicates whether the bloc builder can force rendering.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload → MatexCountryBlocEventPayload?
-
The payload of the event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → MatexCountryBlocEventType?
-
The type of the event.
finalinherited
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