MatexCountryBlocState constructor

MatexCountryBlocState({
  1. List<MatexCountryMetadata>? countries,
  2. bool isInitializing = false,
  3. 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 [];