sendTestEvents method
void
sendTestEvents(
- Object testNotification
)
Implementation
void sendTestEvents(Object testNotification) {
// Send the JSON package as a raw notification so the client can interpret
// the results (for example to populate a test tree).
sendEvent(RawEventBody(testNotification),
eventType: 'dart.testNotification');
// Additionally, send a textual output so that the user also has visible
// output in the Debug Console.
if (testNotification is Map<String, Object?>) {
sendTestTextOutput(testNotification);
}
}