profileRenderObjectPaints method

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

Toggles profiling of render object paints.

Implementation

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