FastAppInfoBlocState constructor

FastAppInfoBlocState({
  1. bool isInitializing = false,
  2. bool isInitialized = false,
  3. String? appVersion,
  4. String? appBuildNumber,
  5. String? appIdentifier,
  6. String? appTermsOfServiceUrl,
  7. String? appPrivacyPolicyUrl,
  8. String? appDisclaimerUrl,
  9. String? supportEmail,
  10. String? bugReportEmail,
  11. String? facebookUrl,
  12. String? homepageUrl,
  13. String? instagramUrl,
  14. String? shareAppUrl,
  15. int? databaseVersion,
  16. String? googlePlayIdentifier,
  17. String? appStoreIdentifier,
  18. List<String>? productIdentifiers,
  19. String? premiumProductIdentifier,
  20. int? previousDatabaseVersion,
  21. String? promoUrl,
  22. String? deviceCountryCode,
  23. DateTime? appDisclaimerLastModified,
  24. DateTime? appPrivacyPolicyLastModified,
  25. DateTime? appTermsOfServiceLastModified,
  26. String? twitterUrl,
  27. int? remindForReviewMinLaunches,
  28. List<Locale>? supportedLocales,
  29. int? askForReviewMinLaunches,
  30. int? remindForReviewMinDays,
  31. String? deviceLanguageCode,
  32. int? askForReviewMinDays,
  33. int? appLaunchCounter,
  34. bool? hasDisclaimer,
  35. String? appAuthor,
  36. String? appName,
  37. String? osVersion = '0',
})

Constructs a FastAppInfoBlocState with the provided parameters.

Implementation

FastAppInfoBlocState({
  super.isInitializing,
  super.isInitialized,
  this.appVersion,
  this.appBuildNumber,
  this.appIdentifier,
  this.appTermsOfServiceUrl,
  this.appPrivacyPolicyUrl,
  this.appDisclaimerUrl,
  this.supportEmail,
  this.bugReportEmail,
  this.facebookUrl,
  this.homepageUrl,
  this.instagramUrl,
  this.shareAppUrl,
  this.databaseVersion,
  this.googlePlayIdentifier,
  this.appStoreIdentifier,
  this.productIdentifiers,
  this.premiumProductIdentifier,
  this.previousDatabaseVersion,
  this.promoUrl,
  this.deviceCountryCode,
  this.appDisclaimerLastModified,
  this.appPrivacyPolicyLastModified,
  this.appTermsOfServiceLastModified,
  this.twitterUrl,
  int? remindForReviewMinLaunches,
  List<Locale>? supportedLocales,
  int? askForReviewMinLaunches,
  int? remindForReviewMinDays,
  String? deviceLanguageCode,
  int? askForReviewMinDays,
  int? appLaunchCounter,
  bool? hasDisclaimer,
  String? appAuthor,
  String? appName,
  this.osVersion = '0',
})  : appName = appName ?? kFastEmptyString,
      appAuthor = appAuthor ?? kFastAppAuthor,
      deviceLanguageCode =
          deviceLanguageCode ?? kFastSettingsDefaultLanguageCode,
      askForReviewMinLaunches =
          askForReviewMinLaunches ?? kFastAppSettingsAskForReviewMinLaunches,
      remindForReviewMinLaunches = remindForReviewMinLaunches ??
          kFastAppSettingsRemindForReviewMinLaunches,
      askForReviewMinDays =
          askForReviewMinDays ?? kFastAppSettingsAskForReviewMinDays,
      remindForReviewMinDays =
          remindForReviewMinDays ?? kFastAppSettingsRemindForReviewMinDays,
      hasDisclaimer = hasDisclaimer ?? kFastAppSettingsHasDisclaimer,
      supportedLocales = supportedLocales ?? kFastAppSettingsSupportedLocales,
      appLaunchCounter = appLaunchCounter ?? 0;