AtTelemetryService class abstract
Simple software telemetry service. See https://en.wikipedia.org/wiki/Telemetry#Software
- Annotations
-
- @experimental
Constructors
-
AtTelemetryService({StreamController<
AtTelemetryEvent> ? controller}) - Allow injection of stream controller
Properties
-
controller
→ StreamController<
AtTelemetryEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samples
→ Iterator<
AtTelemetrySample> -
The AtTelemetrySamples which this telemetry service has taken
no setter
-
stream
→ Stream<
AtTelemetryEvent> -
A broadcast stream of AtTelemetryEvent
no setter
Methods
-
addSample(
AtTelemetrySample sample) → void - Add a sample which has been taken
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
takeSample(
{String? sampleName}) → Future< void> -
Request that sample(s) be taken. If
sampleName
is not supplied, samples will be taken for all known sample names. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited