remainingValue property

double get remainingValue

Calcula quanto tempo ainda resta no compasso.

Implementation

double get remainingValue {
  final ts = timeSignature;
  if (ts == null) return double.infinity;
  return ts.measureValue - currentMusicalValue;
}