next property

Note next

Implementation

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