pitch method
A Pitch on step/octave spelled as this key signature implies.
The short form of alterFor for the common case: a note that simply
belongs to the key. Pass an explicit alter to Pitch instead when the
note deliberately departs from it.
Implementation
Pitch pitch(String step, int octave) =>
Pitch(step: step, octave: octave, alter: alterFor(step));