Key constructor

const Key(
  1. Note note,
  2. TonalMode mode
)

Creates a new Key from note and mode.

Implementation

const Key(this.note, this.mode);