getWebSocketProfile method
The getWebSocketProfile RPC is used to retrieve WebSocket profiling
information collected by dart:io.
Implementation
Future<WebSocketProfile> getWebSocketProfile(
String isolateId, {
DateTime? updatedSince,
}) async {
assert(await isWebSocketProfilingAvailable(isolateId));
return _callHelper(
'ext.dart.io.getWebSocketProfile',
isolateId,
args: {
if (updatedSince != null)
'updatedSince': updatedSince.microsecondsSinceEpoch,
},
);
}