remainingValue property

double get remainingValue

Returns how much rhythmic time remains in the measure.

Implementation

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