FastAppInfoDocument constructor
const
FastAppInfoDocument({
- String? appVersion,
- String? appIdentifier,
- String? appTermsOfServiceUrl,
- String? appPrivacyPolicyUrl,
- String? appDisclaimerUrl,
- String? supportEmail,
- String? bugReportEmail,
- String? facebookUrl,
- String? homepageUrl,
- String? instagramUrl,
- int? databaseVersion,
- String? googlePlayIdentifier,
- String? appStoreIdentifier,
- List<
String> ? productIdentifiers, - String? appBuildNumber,
- String? promoUrl,
- int? previousDatabaseVersion,
- String? deviceLanguageCode,
- String? deviceCountryCode,
- DateTime? appDisclaimerLastModified,
- DateTime? appPrivacyPolicyLastModified,
- DateTime? appTermsOfServiceLastModified,
- String? twitterUrl,
- int? remindForReviewMinLaunches,
- List<
Locale> ? supportedLocales, - int? askForReviewMinLaunches,
- int? remindForReviewMinDays,
- int? askForReviewMinDays,
- int? appLaunchCounter,
- bool? hasDisclaimer,
- String? appAuthor,
- String? appName,
- 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;