previous property

Note previous

Implementation

Note get previous =>
    (this == Note.C) ? Note.B : Note.values[Note.values.indexOf(this) - 1];