[flutter_tools] Add more info to pub get failure event (#41652)

This commit is contained in:
Zachary Anderson
2019-10-03 11:08:42 -07:00
committed by GitHub
parent 517c08e801
commit c7c8a6c498
11 changed files with 197 additions and 84 deletions

View File

@@ -303,7 +303,7 @@ class FakeUsage implements Usage {
void sendCommand(String command, { Map<String, String> parameters }) { }
@override
void sendEvent(String category, String parameter, { Map<String, String> parameters }) { }
void sendEvent(String category, String parameter, { String label, Map<String, String> parameters }) { }
@override
void sendTiming(String category, String variableName, Duration duration, { String label }) { }

View File

@@ -162,7 +162,7 @@ class NoOpUsage implements Usage {
void sendCommand(String command, {Map<String, String> parameters}) {}
@override
void sendEvent(String category, String parameter,{ Map<String, String> parameters }) {}
void sendEvent(String category, String parameter, { String label, Map<String, String> parameters }) {}
@override
void sendException(dynamic exception) {}