collect method

  1. @override
Future<List<num>> collect()

Implementation

@override
Future<List<num>> collect() async {
  final info = await CpuInfoProvider().currentFrequency;
  final freqs = info.values.toList();
  _data[DateTime.now().toUtc()] = freqs;

  return freqs;
}