handleInitializedEvent method
Handles the initialized event by setting the provided country metadata
countries
to the state.
Implementation
Stream<MatexCountryBlocState> handleInitializedEvent(
List<MatexCountryMetadata>? countries,
) async* {
if (isInitializing) {
isInitialized = true;
yield currentState.copyWith(
isInitializing: false,
isInitialized: true,
countries: countries,
);
}
}