TestStartEvent class

An event emitted when a test begins running. This is the only event that contains the full metadata about a test; future events will refer to the test by its opaque ID.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

TestStartEvent({required Test test, required int time})
An event emitted when a test begins running. This is the only event that contains the full metadata about a test; future events will refer to the test by its opaque ID.
const
TestStartEvent.fromJson(Map<String, dynamic> json)
An event emitted when a test begins running. This is the only event that contains the full metadata about a test; future events will refer to the test by its opaque ID.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
test Test
Metadata about the test that started.
final
time int
The time (in milliseconds) that has elapsed since the test runner started.
finalinherited
type String
The type of the event.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited