totalDuration property
double
get
totalDuration
Calculates the total duration of the rhythm pattern.
Implementation
double get totalDuration => durations.fold(0.0, (sum, duration) => sum + duration);
Calculates the total duration of the rhythm pattern.
double get totalDuration => durations.fold(0.0, (sum, duration) => sum + duration);