MatexCountryBlocEvent.init constructor

MatexCountryBlocEvent.init({
  1. String? jsonData,
})

Creates an init event for the MatexCountryBloc.

Optionally, JSON data can be provided as part of the initialization.

  • jsonData: A JSON formatted string (optional).

Implementation

MatexCountryBlocEvent.init({String? jsonData})
    : super(
        type: MatexCountryBlocEventType.init,
        payload: MatexCountryBlocEventPayload(jsonData: jsonData),
      );