copyWith method

AtOnboardingConfig copyWith({
  1. bool? hideReferences,
  2. bool? hideQrScan,
  3. AtClientPreference? atClientPreference,
  4. String? domain,
  5. AtOnboardingTheme? theme,
  6. AtOnboardingTutorialDisplay? tutorialDisplay,
  7. String? appAPIKey,
  8. RootEnvironment? rootEnvironment,
  9. bool? showPopupSharedStorage,
})

Implementation

AtOnboardingConfig copyWith({
  bool? hideReferences,
  bool? hideQrScan,
  AtClientPreference? atClientPreference,
  String? domain,
  AtOnboardingTheme? theme,
  AtOnboardingTutorialDisplay? tutorialDisplay,
  String? appAPIKey,
  RootEnvironment? rootEnvironment,
  bool? showPopupSharedStorage,
}) {
  return AtOnboardingConfig(
    hideReferences: hideReferences ?? this.hideReferences,
    hideQrScan: hideQrScan ?? this.hideQrScan,
    atClientPreference: atClientPreference ?? this.atClientPreference,
    domain: domain ?? this.domain,
    theme: theme ?? this.theme,
    tutorialDisplay: tutorialDisplay ?? this.tutorialDisplay,
    appAPIKey: appAPIKey ?? this.appAPIKey,
    rootEnvironment: rootEnvironment ?? this.rootEnvironment,
    showPopupSharedStorage:
        showPopupSharedStorage ?? this.showPopupSharedStorage,
  );
}