setDeleteNodeInfo method

void setDeleteNodeInfo(
  1. int count,
  2. Map<String, int> info
)

Implementation

void setDeleteNodeInfo(int count, Map<String, int> info) {
  if (!enablePerformance) {
    return;
  }

  info.forEach((key, value) {
    if (!_performanceData.data.containsKey(key)) {
      _performanceData.data[key] = NodePerformanceData();
    }
    _performanceData.data[key]?.deleteCount += value;
  });
}