avgTotalTime property
Implementation
Duration get avgTotalTime {
final total = results.fold<int>(0, (sum, r) => sum + r.totalTime.inMicroseconds);
return Duration(microseconds: total ~/ results.length);
}
Duration get avgTotalTime {
final total = results.fold<int>(0, (sum, r) => sum + r.totalTime.inMicroseconds);
return Duration(microseconds: total ~/ results.length);
}