getSocketProfile method Null safety

Future<SocketProfile> getSocketProfile(
  1. String isolateId
)

The getSocketProfile RPC is used to retrieve socket statistics collected by the socket profiler. Only samples collected after the initial socketProfilingEnabled call or the last call to clearSocketProfile will be reported.

Implementation

Future<SocketProfile> getSocketProfile(String isolateId) =>
    _callHelper('ext.dart.io.getSocketProfile', isolateId);