isHttpProfilingAvailable method

Future<bool> isHttpProfilingAvailable(
  1. String isolateId
)

Whether HTTP profiling is available for the given isolateId.

Implementation

Future<bool> isHttpProfilingAvailable(String isolateId) async {
  final Isolate isolate = await getIsolate(isolateId);
  return (isolate.extensionRPCs ?? []).contains('ext.dart.io.getHttpProfile');
}