onMetrics property

Stream<MetricsEvent> get onMetrics

Current values of the metrics.

Implementation

Stream<MetricsEvent> get onMetrics => _client.onEvent
    .where((event) => event.name == 'Performance.metrics')
    .map((event) => MetricsEvent.fromJson(event.parameters));