logic/logic library

Classes

MatexCountryBloc
Represents a Bidirectional Bloc (Business Logic Component) for managing country metadata.
MatexCountryBlocEvent
Represents events that can be dispatched to the MatexCountryBloc.
MatexCountryBlocEventPayload
Represents a payload for the MatexCountryBlocEvent.
MatexCountryBlocState
Represents the state for MatexCountryBloc which manages country data.
MatexCountryDataProvider
A class that provides data related to countries by extending MatexDataProvider for MatexCountryMetadata.
MatexCountryJob
A job that initializes the country data.
MatexCountryMetadata
Represents metadata associated with a country, such as VAT rates and currency.
MatexDataProvider<T>
Abstract data provider class to fetch, parse, cache, and retrieve model data.

Enums

MatexCountryBlocEventType
Enum that represents the type of events that can be dispatched to the MatexCountryBloc.

Mixins

MatexCountryJobDelegate
A delegate for fetching country-specific metadata in JSON format.

Functions

parseMetadataJson(String jsonString) Map<String, dynamic>
Parse the provided metadata JSON string into a map.