TestReportMetadata class

Annotations
  • @immutable

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.
no setterinherited
id String?
final
numSteps int?
final
passedSteps int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool?
final
suiteName String?
final
testName String?
final
testVersion int?
final
timestamp DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
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?