ProbeRegistry class Null safety

The ProbeRegistry can create, register, and lookup an instance of a relevant probe based on its CAMSDataType.

Constructors

ProbeRegistry()
Get the singleton ProbeRegistry.
factory

Properties

events Stream<DataPoint>
A stream of all events from all probes.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
probes Map<String, Set<Probe>>
All running probes mapped according to their data type.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(String type) Probe?
Create an instance of a probe based on its data type. [...]
eventsByType(String type) Stream<DataPoint>
A stream of all events from probes of a specific type.
lookup(String type) Set<Probe>
Lookup a set of Probes based on its data type. Maybe an empty list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
register(String type, Probe probe) → void
If you create a probe manually, i.e. outside of the ProbeRegistry you can register it here.
toString() String
A string representation of this object. [...]
inherited

Operators

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