stopAllMetrics method
Implementation
void stopAllMetrics({DateTime? now}) {
var startedMetrics = _startedMetrics;
if (startedMetrics != null) {
now ??= DateTime.now();
for (var k in startedMetrics.keys) {
stopMetric(k, now: now);
}
}
}