Metrics constructor

Metrics({
  1. dynamic ops,
  2. num? opsDispatched,
  3. num? opsDispatchedSync,
  4. num? opsDispatchedAsync,
  5. num? opsDispatchedAsyncUnref,
  6. num? opsCompleted,
  7. num? opsCompletedSync,
  8. num? opsCompletedAsync,
  9. num? opsCompletedAsyncUnref,
  10. num? bytesSentControl,
  11. num? bytesSentData,
  12. num? bytesReceived,
})

Implementation

factory Metrics({
  _i2.dynamic ops,
  _i2.num? opsDispatched,
  _i2.num? opsDispatchedSync,
  _i2.num? opsDispatchedAsync,
  _i2.num? opsDispatchedAsyncUnref,
  _i2.num? opsCompleted,
  _i2.num? opsCompletedSync,
  _i2.num? opsCompletedAsync,
  _i2.num? opsCompletedAsyncUnref,
  _i2.num? bytesSentControl,
  _i2.num? bytesSentData,
  _i2.num? bytesReceived,
}) =>
    Metrics._(
      ops: ops,
      opsDispatched: opsDispatched,
      opsDispatchedSync: opsDispatchedSync,
      opsDispatchedAsync: opsDispatchedAsync,
      opsDispatchedAsyncUnref: opsDispatchedAsyncUnref,
      opsCompleted: opsCompleted,
      opsCompletedSync: opsCompletedSync,
      opsCompletedAsync: opsCompletedAsync,
      opsCompletedAsyncUnref: opsCompletedAsyncUnref,
      bytesSentControl: bytesSentControl,
      bytesSentData: bytesSentData,
      bytesReceived: bytesReceived,
    );