ServiceExtensionRegistry class

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

Constructors

ServiceExtensionRegistry()

Properties

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

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 nonexistent 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