How do I use KM correctly to toggle macOS dictation mode?

Right. Peter discussed this before. Here is one time it was discussed.