summary method
Returns a summary map of activity counts for all spans at the current time.
Implementation
Future<Map<ActivitySpan, int>> summary() async {
return {
for (final span in ActivitySpan.values) span: await amountThis(span),
};
}
Returns a summary map of activity counts for all spans at the current time.
Future<Map<ActivitySpan, int>> summary() async {
return {
for (final span in ActivitySpan.values) span: await amountThis(span),
};
}