activeDates method

Future<List<DateTime>> activeDates(
  1. ActivitySpan span
)

Returns a list of DateTime objects where any activity was tracked for the specified span.

Implementation

Future<List<DateTime>> activeDates(ActivitySpan span) async {
  final keys = await all(span);
  final now = _clock();
  return [for (final i in keys.keys) span.dateFromIndex(now, i)];
}