FastAppSettingsBlocState constructor

FastAppSettingsBlocState({
  1. bool isInitializing = false,
  2. bool isInitialized = false,
  3. String? secondaryCurrencyCode,
  4. String? countryCode,
  5. String? theme,
  6. bool? use24HourFormat,
  7. String? primaryCurrencyCode,
  8. String? languageCode,
  9. bool? saveEntry,
})

Constructs a FastAppSettingsBlocState with the provided parameters.

Implementation

FastAppSettingsBlocState({
  super.isInitializing,
  super.isInitialized,
  this.secondaryCurrencyCode,
  this.countryCode,
  this.theme,
  bool? use24HourFormat,
  String? primaryCurrencyCode,
  String? languageCode,
  bool? saveEntry,
})  : primaryCurrencyCode =
          primaryCurrencyCode ?? kFastAppSettingsPrimaryCurrencyCode,
      saveEntry = saveEntry ?? kFastAppSettingsSaveEntry,
      languageCode = languageCode ?? kFastSettingsDefaultLanguageCode,
      use24HourFormat = use24HourFormat ?? false;