Run target analytics (#10902)
* report run target and if it is an emulator * don't print debug * rename parameter, remove unused variable * fix test * fix comment * tweak from review, and fix analyzer error * send custom parameters for the event, not the session * fix mock * use the +1 for usage
This commit is contained in:
@@ -218,10 +218,10 @@ class MockUsage implements Usage {
|
||||
String get clientId => '00000000-0000-4000-0000-000000000000';
|
||||
|
||||
@override
|
||||
void sendCommand(String command) { }
|
||||
void sendCommand(String command, { Map<String, String> parameters }) { }
|
||||
|
||||
@override
|
||||
void sendEvent(String category, String parameter) { }
|
||||
void sendEvent(String category, String parameter, { Map<String, String> parameters }) { }
|
||||
|
||||
@override
|
||||
void sendTiming(String category, String variableName, Duration duration, { String label }) { }
|
||||
|
||||
Reference in New Issue
Block a user