TestEvent constructor

const TestEvent({
  1. required String type,
  2. required int time,
})

This is the root class of the protocol. All root-level objects emitted by the JSON reporter will be subclasses of TestEvent. https://github.com/dart-lang/test/blob/master/pkgs/test/doc/json_reporter.md

Implementation

const TestEvent({required this.type, required this.time});