amountThis method

Future<int> amountThis(
  1. ActivitySpan span
)

Returns the activity count for the current time in the specified span.

Implementation

Future<int> amountThis(ActivitySpan span) {
  final now = _clock();
  return _getSafe(_data[span]!, span.info(now).index);
}