MetricsCollector class abstract interface

Receives application metric samples.

Dart ships no OTel implementation of this seam. Flutter adapters route samples through the frontend Faro path (RB-19); this library owns the seam and its in-memory fake, never an exporter.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

emit(MetricRecord record) → Result<void>
Emits one sample.
flush() Future<Result<void>>
Flushes any buffered samples.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited