totalDuration method
dynamic
totalDuration()
Implementation
totalDuration() => (isNotEmpty)
? map((e) => e.duration).reduce((a, b) => a + b)
: Duration.zero;
totalDuration() => (isNotEmpty)
? map((e) => e.duration).reduce((a, b) => a + b)
: Duration.zero;