debugPaint method

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

Toggles debug paint mode.

Implementation

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