clientFor method Null safety

VmServerConnection? clientFor(
  1. String extension
)

Returns the VmServerConnection for a given extension, or null if none is registered.

The result of this function should not be stored, because clients may shut down at any time.

Implementation

VmServerConnection? clientFor(String extension) =>
    _extensionToConnection[extension];