forked from firka/flutter
[WIP] Use public _registerService RPC
This commit is contained in:
@@ -140,7 +140,7 @@ class VMService {
|
||||
|
||||
// If the Flutter Engine doesn't support service registration this will
|
||||
// have no effect
|
||||
_peer.sendNotification('_registerService', <String, String>{
|
||||
_peer.sendNotification('registerService', <String, String>{
|
||||
'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', <String, String>{
|
||||
_peer.sendNotification('registerService', <String, String>{
|
||||
'service': 'hotRestart',
|
||||
'alias': 'Flutter Tools',
|
||||
});
|
||||
@@ -204,7 +204,7 @@ class VMService {
|
||||
}
|
||||
});
|
||||
|
||||
_peer.sendNotification('_registerService', <String, String>{
|
||||
_peer.sendNotification('registerService', <String, String>{
|
||||
'service': 'compileExpression',
|
||||
'alias': 'Flutter Tools',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user