repaintRainbow method

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

Toggles repaint rainbow effect.

Implementation

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