copyWith method

EnglishLocalization copyWith({
  1. String? appNameText,
  2. ActionsLocalization? actionsLocalization,
  3. AuthLocalization? auth,
  4. ErrorLocalization? errorLocalization,
  5. InternetLocalization? internetLocalization,
  6. ViewLocalization? pagesLocalization,
  7. SearchLocalization? searchLocalization,
  8. SettingsLocalization? settingsLocalization,
  9. ThemeLocalization? themeLocalization,
})

Implementation

EnglishLocalization copyWith({
  String? appNameText,
  ActionsLocalization? actionsLocalization,
  AuthLocalization? auth,
  ErrorLocalization? errorLocalization,
  InternetLocalization? internetLocalization,
  ViewLocalization? pagesLocalization,
  SearchLocalization? searchLocalization,
  SettingsLocalization? settingsLocalization,
  ThemeLocalization? themeLocalization,
}) {
  return EnglishLocalization(
    appNameText: appNameText ?? this.appNameText,
    actionsLocalization: actionsLocalization ?? this.actionsLocalization,
    auth: auth ?? this.auth,
    errorLocalization: errorLocalization ?? this.errorLocalization,
    internetLocalization: internetLocalization ?? this.internetLocalization,
    viewLocalization: pagesLocalization ?? this.viewLocalization,
    searchLocalization: searchLocalization ?? this.searchLocalization,
    settingsLocalization: settingsLocalization ?? this.settingsLocalization,
    themeLocalization: themeLocalization ?? this.themeLocalization,
  );
}