hanonStep function

HanonStep hanonStep(
  1. int level,
  2. int sub, {
  3. int tone = 0,
})

O passo de level (1 ao último) e sub (0 a 5), no tone (só nos níveis de tons).

Implementation

HanonStep hanonStep(int level, int sub, {int tone = 0}) => tone == 0
    ? hanonSteps[hanonIndexOf(level, sub)]
    : HanonStep(level, sub, tone: tone);