removeAll<S extends EntityState<T> > method
S
removeAll<S extends EntityState<T> >(
- S state
override
Empties the store
Implementation
S removeAll<S extends EntityState<T>>(S state) {
return state.copyWith(ids: [], entities: {}) as S;
}