profileRenderObjectLayouts method

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

Toggles profiling of render object layouts.

Implementation

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