Event.start constructor

const Event.start({
  1. required int time,
  2. required String protocolVersion,
  3. String? runnerVersion,
  4. required int pid,
})

Factory constructor for start event

Implementation

const factory Event.start({
  /// The time (in milliseconds) that has elapsed since the test runner started.
  required int time,

  /// The version of the JSON reporter protocol being used.
  ///
  /// This is a semantic version, but it reflects only the version of the
  /// protocol—it's not identical to the version of the test runner itself.
  required String protocolVersion,

  /// The version of the test runner being used.
  ///
  /// This is null if for some reason the version couldn't be loaded.
  String? runnerVersion,

  /// The pid of the VM process running the tests.
  required int pid,
}) = _Start;