getHttpProfile method Null safety
The getHttpProfile
RPC is used to retrieve HTTP profiling information
for requests made via dart:io
's HttpClient
.
The returned HttpProfile
will only include requests issued after
httpTimelineLogging
has been enabled or after the last
clearHttpProfile
invocation.
If updatedSince
is provided, only requests started or updated since
the specified time will be reported.
Implementation
Future<HttpProfile> getHttpProfile(String isolateId, {int? updatedSince}) =>
_callHelper('ext.dart.io.getHttpProfile', isolateId, args: {
if (updatedSince != null) 'updatedSince': updatedSince,
});