Index: sdk/lib/vmservice/message.dart |
diff --git a/sdk/lib/vmservice/message.dart b/sdk/lib/vmservice/message.dart |
index 295214cb18716ab8d3ffbb8aade52e3e670579c8..0c021715a3f2ec1d376a9e049f55d160f964c2ee 100644 |
--- a/sdk/lib/vmservice/message.dart |
+++ b/sdk/lib/vmservice/message.dart |
@@ -51,6 +51,9 @@ class Message { |
return uri.pathSegments[0]; |
} |
+ Message.forMethod(String method) |
+ : client = null, method = method, serial = ''; |
+ |
Message.fromUri(this.client, Uri uri) |
: serial = '', method = _methodNameFromUri(uri) { |
params.addAll(uri.queryParameters); |