MetricsResponse constructor

const MetricsResponse(
  1. int requestId, {
  2. int queryCount = 0,
  3. int errorCount = 0,
  4. int uptimeSecs = 0,
  5. int totalLatencyMillis = 0,
  6. int avgLatencyMillis = 0,
  7. String? error,
})

Implementation

const MetricsResponse(
  super.requestId, {
  this.queryCount = 0,
  this.errorCount = 0,
  this.uptimeSecs = 0,
  this.totalLatencyMillis = 0,
  this.avgLatencyMillis = 0,
  this.error,
});