anchor.diff:      }
       if (event is SettingsUpdateServer) {
         yield* _mapSettingsUpdateServerToState(
  -        settings: settings,
  -        logging: logging,
           id: event.id,
           primaryConnectionAddress: event.primaryConnectionAddress,
           secondaryConnectionAddress: event.secondaryConnectionAddress,
  
positive.code:       primaryActive: true,
        plexPass: plexPass,
      );
      yield* _fetchAndYieldSettings(settings);
    }
  
    Stream<SettingsState> _mapSettingsUpdateServerToState({
      @required Settings settings,
      @required Logging logging,
      @required int id,
      @required String primaryConnectionAddress,
      @required String secondaryConnectionAddress,
  
negative.code:       );
      }
      if (event is SettingsDeleteServer) {
        yield* _mapSettingsDeleteServerToState(id: event.id);
      }
      if (event is SettingsUpdatePrimaryConnection) {
        yield* _mapSettingsUpdatePrimaryConnectionToState(
          id: event.id,
          primaryConnectionAddress: event.primaryConnectionAddress,
        );
      }
      if (event is SettingsUpdateSecondaryConnection) {
        yield* _mapSettingsUpdateSecondaryConnectionToState(
          id: event.id,
          secondaryConnectionAddress: event.secondaryConnectionAddress,
        );
      }
      if (event is SettingsUpdateDeviceToken) {
        yield* _mapSettingsUpdateDeviceTokenToState(
          id: event.id,
          deviceToken: event.deviceToken,
        );
      }
      if (event is SettingsUpdateServerTimeout) {
        yield* _mapSettingsUpdateServerTimeoutToState(
          timeout: event.timeout,
        );
      }
      if (event is SettingsUpdateRefreshRate) {
        yield* _mapSettingsUpdateRefreshRateToState(
          refreshRate: event.refreshRate,
        );
      }
      if (event is SettingsUpdateLastSelectedServer) {
        yield* _mapSettingsUpdateLastSelectedServerToState(
          tautulliId: event.tautulliId,
        );
      }
    }
  
    Stream<SettingsState> _mapSettingsLoadToState() async* {
      yield SettingsLoadInProgress();
      yield* _fetchAndYieldSettings();
      yield* _checkForServerChanges();
    }
  
    Stream<SettingsState> _mapSettingsAddServerToState({
      @required String primaryConnectionAddress,
      @required String deviceToken,
      @required String tautulliId,
  