ServiceExtensionRegistry class Null safety
A registry of custom service extensions to VmServerConnections in which they were registered.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
onExtensionEvent
→ Stream<
Event> -
Emits an
Event
of typeServiceRegistered
for all current and future extensions that are registered, andServiceUnregistered
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
, ornull
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
forclient
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited