extendState(state) {
        for (const a in state) {
            // istanbul ignore else
            if (Object.prototype.hasOwnProperty.call(state, a)) {
                this._inner[a] = state[a];
            }
        }
    }
Extends or overrides inner state with the specified properties.

Only own properties are used, i.e. inherited ones are skipped.