toggle()

in store/index.js [21:23]


  toggle(state, key) {
    state[key] = !state[key]
  },