amountFor method

Future<int> amountFor(
  1. ActivitySpan span,
  2. DateTime date
)

Returns the activity count for the specified date in the given span.

Implementation

Future<int> amountFor(ActivitySpan span, DateTime date) {
  return _getSafe(_data[span]!, span.info(date).index);
}