MatexCountryBlocEvent.initialized constructor

MatexCountryBlocEvent.initialized(
  1. List<MatexCountryMetadata> countries
)

Creates an initialized event for the MatexCountryBloc.

This event carries a payload with a list of MatexCountryMetadata objects, indicating successful initialization.

  • countries: A list of MatexCountryMetadata instances.

Implementation

MatexCountryBlocEvent.initialized(
  List<MatexCountryMetadata> countries,
) : super(
        type: MatexCountryBlocEventType.initialized,
        payload: MatexCountryBlocEventPayload(countries: countries),
      );