total method
Returns the total sum of all recorded entries in the specified span
.
Implementation
Future<int> total(ActivitySpan span) async {
final list = await _getList(_data[span]!);
return list.fold<int>(0, (sum, e) => sum + e);
}
Returns the total sum of all recorded entries in the specified span
.
Future<int> total(ActivitySpan span) async {
final list = await _getList(_data[span]!);
return list.fold<int>(0, (sum, e) => sum + e);
}