MatexCountryBlocState constructor
MatexCountryBlocState({
- List<
MatexCountryMetadata> ? countries, - bool isInitializing = false,
- bool isInitialized = false,
Constructs a MatexCountryBlocState
with given properties.
countries
specifies the list of countries this state should hold. Defaults to an empty list if not provided.
Implementation
MatexCountryBlocState({
List<MatexCountryMetadata>? countries,
super.isInitializing = false,
super.isInitialized = false,
}) : countries = countries ?? const [];