clear method

void clear()

Clear all collected metrics

Implementation

void clear() => _metrics.clear();