RecordingExplorationTransport class

Records ExplorationTransport.flare calls for offline tests.

Implemented types

Constructors

RecordingExplorationTransport()
Creates an empty recording transport.

Properties

flares List<({Map<String, String> data, String name})>
Recorded flares in call order.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flare(String name, Map<String, String> data) → void
Emits a fire-and-forget observability flare name with data to the out-of-band sink (the exploration host event stream the live arm adapts). Emit-only — NEVER an inbound pipeline handle (invariant 1). Must not throw to the caller in a way that breaks the flush (the host swallows errors). D-8.
override
named(String name) Iterable<({Map<String, String> data, String name})>
Recorded flares whose name equals name.
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