TestReportMetadata class Null safety

Inheritance
Annotations

Constructors

TestReportMetadata({@required TestDeviceInfo? deviceInfo, @required String? id, @required int? numSteps, @required int? passedSteps, @required bool? success, @required String? suiteName, @required String? testName, @required int? testVersion, @required DateTime? timestamp})

Properties

deviceInfo TestDeviceInfo?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
final
numSteps int?
final
passedSteps int?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
success bool?
final
suiteName String?
final
testName String?
final
testVersion int?
final
timestamp DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Abstract function that concrete classes must implement. This must encode the internal data model to a JSON compatible representation. [...]
override
toString() String
Returns the string encoded JSON representation for this class. This will remove all null values and empty collections from the returned string.
inherited

Operators

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

Static Methods

fromDynamic(dynamic map, {String? id}) TestReportMetadata?
fromTestReport(TestReport? report, {String? id}) TestReportMetadata?