diff --git a/packages/flutter_tools/lib/src/vmservice.dart b/packages/flutter_tools/lib/src/vmservice.dart index 31dd369709..b05aa2ddd0 100644 --- a/packages/flutter_tools/lib/src/vmservice.dart +++ b/packages/flutter_tools/lib/src/vmservice.dart @@ -140,7 +140,7 @@ class VMService { // If the Flutter Engine doesn't support service registration this will // have no effect - _peer.sendNotification('_registerService', { + _peer.sendNotification('registerService', { 'service': 'reloadSources', 'alias': 'Flutter Tools', }); @@ -166,7 +166,7 @@ class VMService { // If the Flutter Engine doesn't support service registration this will // have no effect - _peer.sendNotification('_registerService', { + _peer.sendNotification('registerService', { 'service': 'hotRestart', 'alias': 'Flutter Tools', }); @@ -204,7 +204,7 @@ class VMService { } }); - _peer.sendNotification('_registerService', { + _peer.sendNotification('registerService', { 'service': 'compileExpression', 'alias': 'Flutter Tools', });