timeLimit property

int? get timeLimit

Segundos por acorde; null é sem limite. Só o subnível d tem.

Implementation

int? get timeLimit {
  if (sub != 3) return null;
  final seconds = switch (level) {
    <= 4 => 10,
    <= 8 => 8,
    <= 12 => 7,
    <= 16 => 6,
    <= 18 => 8,
    _ => 7,
  };
  return byEar ? seconds * 2 : seconds;
}