term method

double term(
  1. DifficultyTerm t
)

O valor de um termo (0 se a nota não o tem).

Implementation

double term(DifficultyTerm t) => terms[t] ?? 0;