profilePlatformChannels method

Future<Response> profilePlatformChannels(
  1. String isolateId, {
  2. bool? enabled,
})

Toggles profiling of platform channels.

Implementation

Future<Response> profilePlatformChannels(String isolateId,
    {bool? enabled}) async {
  return await vmService.callServiceExtension(
    'ext.flutter.profilePlatformChannels',
    isolateId: isolateId,
    args: {'enabled': enabled?.toString()},
  );
}