BloomTelemetryTransport class abstract
Transport contract for dispatching telemetry and crash events.
Implement this interface to route telemetry payloads to custom collectors (e.g. Sentry, Datadog).
Example:
class CustomTransport extends BloomTelemetryTransport {
@override
Future<void> send(BloomTelemetryEvent event) async {
// Send to telemetry pipeline
}
}
- Implementers
Constructors
- BloomTelemetryTransport()
-
Creates a BloomTelemetryTransport.
const
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
-
close(
) → Future< void> - Closes the transport and flushes any pending buffer.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
BloomTelemetryEvent event) → Future< void> -
Transmits a single
eventto the target collector. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited