FastAppInfoBlocState class
The FastAppInfoBlocState class represents the state of the application's information.
- Inheritance
-
- Object
- TModel
- BlocState
- FastAppInfoBlocState
Constructors
-
FastAppInfoBlocState.new({bool isInitializing = false, bool isInitialized = false, String? appVersion, String? appBuildNumber, 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, int? previousDatabaseVersion, String? promoUrl, String? deviceCountryCode, DateTime? appDisclaimerLastModified, DateTime? appPrivacyPolicyLastModified, DateTime? appTermsOfServiceLastModified, String? twitterUrl, int? remindForReviewMinLaunches, List<Locale> ? supportedLocales, int? askForReviewMinLaunches, int? remindForReviewMinDays, String? deviceLanguageCode, int? askForReviewMinDays, int? appLaunchCounter, bool? hasDisclaimer, String? appAuthor, String? appName, String? osVersion = '0'}) - Constructs a FastAppInfoBlocState with the provided parameters.
- FastAppInfoBlocState.fromDocument(FastAppInfoDocument document)
-
factory
Properties
- appAuthor → String
-
The author of the app.
final
- appBuildNumber → String?
-
The build number of the app.
final
- appDisclaimerLastModified → DateTime?
-
The last modified date of the app disclaimer.
final
- appDisclaimerUrl → String?
-
The URL to the app's disclaimer.
final
- appIdentifier → String?
-
The identifier of the app.
final
- appLaunchCounter → int
-
The app launch counter.
final
- appName → String
-
The name of the app.
final
- appPrivacyPolicyLastModified → DateTime?
-
The last modified date of the app privacy policy.
final
- appPrivacyPolicyUrl → String?
-
The URL to the app's privacy policy.
final
- appStoreIdentifier → String?
-
The App Store identifier for the app.
final
- appTermsOfServiceLastModified → DateTime?
-
The last modified date of the app terms of service.
final
- appTermsOfServiceUrl → String?
-
The URL to the app's terms of service.
final
- appVersion → String?
-
The version of the app.
final
- askForReviewMinDays → int
-
The minimum number of days before asking for a review.
final
- askForReviewMinLaunches → int
-
The minimum number of launches before asking for a review.
final
- bugReportEmail → String?
-
The bug report email for the app.
final
- databaseVersion → int?
-
The database version of the app.
final
- deviceCountryCode → String?
-
The device's country code.
final
- deviceLanguageCode → String
-
The device's language code.
final
- error → dynamic
-
Whether the bloc has an error.
finalinherited
- facebookUrl → String?
-
The Facebook URL for the app.
final
- googlePlayIdentifier → String?
-
The Google Play identifier for the app.
final
- hasDisclaimer → bool
-
Indicates whether the app has a disclaimer.
final
- hasError → bool
-
Indicates whether the bloc has an error.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- homepageUrl → String?
-
The homepage URL for the app.
final
- instagramUrl → String?
-
The Instagram URL for the app.
final
- isBusy → bool
-
Whether the bloc is busy.
finalinherited
- isFirstLaunch → bool
-
no setter
- isInitialized → bool
-
Whether the bloc is initialized.
finalinherited
- isInitializing → bool
-
Whether the bloc is initializing.
finalinherited
- osVersion → String?
-
final
-
The premium product identifier for the app.
final
- previousDatabaseVersion → int?
-
The previous database version of the app.
final
-
productIdentifiers
→ List<
String> ? -
The list of product identifiers for in-app purchases.
final
- promoUrl → String?
-
The URL for a promotional offer for the app.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- remindForReviewMinDays → int
-
The minimum number of days before reminding for a review.
final
- remindForReviewMinLaunches → int
-
The minimum number of launches before reminding for a review.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The share app URL for the app.
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited -
supportedLocales
→ List<
Locale> -
The supported locales of the application.
final
- supportEmail → String?
-
The support email for the app.
final
- twitterUrl → String?
-
The Twitter URL for the app.
final
- uuid → String
-
The unique identifier of the bloc state.
finalinherited
Methods
-
assignValue<
T> (T? value, {T? defaultValue, bool loose = true}) → T? -
inherited
-
clone(
) → FastAppInfoBlocState -
Creates a new FastAppInfoBlocState instance with the same property
values as the current instance.
override
-
copyWith(
{bool? isInitializing, bool? isInitialized, String? appName, String? appVersion, String? appBuildNumber, String? appAuthor, String? appIdentifier, String? appTermsOfServiceUrl, String? appPrivacyPolicyUrl, String? appDisclaimerUrl, String? supportEmail, String? bugReportEmail, String? facebookUrl, String? homepageUrl, String? instagramUrl, int? databaseVersion, bool? hasDisclaimer, String? googlePlayIdentifier, String? appStoreIdentifier, List< String> ? productIdentifiers, int? askForReviewMinLaunches, int? askForReviewMinDays, int? remindForReviewMinLaunches, int? remindForReviewMinDays, String? promoUrl, int? appLaunchCounter, int? previousDatabaseVersion, String? deviceLanguageCode, String? deviceCountryCode, List<Locale> ? supportedLocales, DateTime? appDisclaimerLastModified, DateTime? appPrivacyPolicyLastModified, DateTime? appTermsOfServiceLastModified, String? twitterUrl, String? osVersion}) → FastAppInfoBlocState -
Creates a new FastAppInfoBlocState instance with updated properties.
override
-
copyWithDefaults(
) → TModel -
inherited
-
merge(
covariant FastAppInfoBlocState model) → FastAppInfoBlocState -
Merges the properties of the provided
model
into a new FastAppInfoBlocState instance.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDocument(
) → FastAppInfoDocument -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited