FastAppInfoDocument constructor

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

Creates an instance of FastAppInfoDocument.

Implementation

const FastAppInfoDocument({
  this.appVersion,
  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.appBuildNumber,
  this.promoUrl,
  this.previousDatabaseVersion,
  this.deviceLanguageCode,
  this.deviceCountryCode,
  this.appDisclaimerLastModified,
  this.appPrivacyPolicyLastModified,
  this.appTermsOfServiceLastModified,
  this.twitterUrl,
  int? remindForReviewMinLaunches,
  List<Locale>? supportedLocales,
  int? askForReviewMinLaunches,
  int? remindForReviewMinDays,
  int? askForReviewMinDays,
  int? appLaunchCounter,
  bool? hasDisclaimer,
  String? appAuthor,
  String? appName,
  this.osVersion = '0',
})  : appName = appName ?? kFastEmptyString,
      appAuthor = appAuthor ?? kFastAppAuthor,
      askForReviewMinLaunches =
          askForReviewMinLaunches ?? kFastAppSettingsAskForReviewMinLaunches,
      remindForReviewMinLaunches = remindForReviewMinLaunches ??
          kFastAppSettingsRemindForReviewMinLaunches,
      askForReviewMinDays =
          askForReviewMinDays ?? kFastAppSettingsAskForReviewMinDays,
      remindForReviewMinDays =
          remindForReviewMinDays ?? kFastAppSettingsRemindForReviewMinDays,
      hasDisclaimer = hasDisclaimer ?? kFastAppSettingsHasDisclaimer,
      supportedLocales = supportedLocales ?? kFastAppSettingsSupportedLocales,
      appLaunchCounter = appLaunchCounter ?? 0;