copyWith method

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

Creates a new FastAppInfoBlocState instance with updated properties.

If a parameter is not provided, the corresponding property of the current instance is used instead.

Implementation

@override
FastAppInfoBlocState 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,
  String? shareAppUrl,
  int? databaseVersion,
  bool? hasDisclaimer,
  String? googlePlayIdentifier,
  String? appStoreIdentifier,
  List<String>? productIdentifiers,
  String? premiumProductIdentifier,
  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(
      supportedLocales: supportedLocales ?? this.supportedLocales,
      isInitializing: isInitializing ?? this.isInitializing,
      isInitialized: isInitialized ?? this.isInitialized,
      appName: appName ?? this.appName,
      appVersion: appVersion ?? this.appVersion,
      appBuildNumber: appBuildNumber ?? this.appBuildNumber,
      appAuthor: appAuthor ?? this.appAuthor,
      appIdentifier: appIdentifier ?? this.appIdentifier,
      appTermsOfServiceUrl: appTermsOfServiceUrl ?? this.appTermsOfServiceUrl,
      appPrivacyPolicyUrl: appPrivacyPolicyUrl ?? this.appPrivacyPolicyUrl,
      appDisclaimerUrl: appDisclaimerUrl ?? this.appDisclaimerUrl,
      supportEmail: supportEmail ?? this.supportEmail,
      bugReportEmail: bugReportEmail ?? this.bugReportEmail,
      facebookUrl: facebookUrl ?? this.facebookUrl,
      homepageUrl: homepageUrl ?? this.homepageUrl,
      instagramUrl: instagramUrl ?? this.instagramUrl,
      shareAppUrl: shareAppUrl ?? this.shareAppUrl,
      databaseVersion: databaseVersion ?? this.databaseVersion,
      hasDisclaimer: hasDisclaimer ?? this.hasDisclaimer,
      googlePlayIdentifier: googlePlayIdentifier ?? this.googlePlayIdentifier,
      appStoreIdentifier: appStoreIdentifier ?? this.appStoreIdentifier,
      productIdentifiers: productIdentifiers ?? this.productIdentifiers,
      premiumProductIdentifier:
          premiumProductIdentifier ?? this.premiumProductIdentifier,
      askForReviewMinLaunches:
          askForReviewMinLaunches ?? this.askForReviewMinLaunches,
      askForReviewMinDays: askForReviewMinDays ?? this.askForReviewMinDays,
      remindForReviewMinLaunches:
          remindForReviewMinLaunches ?? this.remindForReviewMinLaunches,
      remindForReviewMinDays:
          remindForReviewMinDays ?? this.remindForReviewMinDays,
      promoUrl: promoUrl ?? this.promoUrl,
      appLaunchCounter: appLaunchCounter ?? this.appLaunchCounter,
      previousDatabaseVersion:
          previousDatabaseVersion ?? this.previousDatabaseVersion,
      deviceLanguageCode: deviceLanguageCode ?? this.deviceLanguageCode,
      deviceCountryCode: deviceCountryCode ?? this.deviceCountryCode,
      appDisclaimerLastModified:
          appDisclaimerLastModified ?? this.appDisclaimerLastModified,
      appPrivacyPolicyLastModified:
          appPrivacyPolicyLastModified ?? this.appPrivacyPolicyLastModified,
      appTermsOfServiceLastModified:
          appTermsOfServiceLastModified ?? this.appTermsOfServiceLastModified,
      twitterUrl: twitterUrl ?? this.twitterUrl,
      osVersion: osVersion ?? this.osVersion,
    );