showPerformanceOverlay method
Toggles the performance overlay.
Implementation
Future<Response> showPerformanceOverlay(String isolateId,
{bool? enabled}) async {
return await vmService.callServiceExtension(
'ext.flutter.showPerformanceOverlay',
isolateId: isolateId,
args: {'enabled': enabled?.toString()},
);
}