ServiceExtensionRegistry class Null safety

A registry of custom service extensions to VmServerConnections in which they were registered.

Constructors

ServiceExtensionRegistry()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onExtensionEvent Stream<Event>
Emits an Event of type ServiceRegistered for all current and future extensions that are registered, and ServiceUnregistered when those clients disconnect.
read-only
registeredExtensions Iterable<String>
All of the currently registered extensions
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

clientFor(String extension) VmServerConnection?
Returns the VmServerConnection for a given extension, or null if none is registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
registerExtension(String extension, VmServerConnection client) → void
Registers extension for client.
toString() String
A string representation of this object.
inherited

Operators

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