VmServiceTransport class

Constructors

VmServiceTransport({required InspectorCore core, int queueLimit = 2000, void postEvent(String kind, Map<String, Object?> data)?})

Properties

core → InspectorCore
final
hashCode → int
The hash code for this object.
no setterinherited
queueLimit → int
Frames held per peer between pulls. Past this the oldest are dropped and counted — an unbounded queue behind a host that stopped pulling is a memory leak in someone else's app.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

detachAll() → void
Forgets every peer — what a hot restart means for attachments made to the isolate that no longer exists.
exchange(Map<String, String> params) → Future<Map<String, Object?>>
Serves one exchange: apply the incoming frame, if any, and drain that peer's queue. Public because it is the transport — a host that reaches the app some other way (an embedder, a test) drives this directly instead of going through the service extension.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerExtensions() → void
toString() → String
A string representation of this object.
inherited

Operators

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