GoldenTestImages class

Annotations
  • @immutable

Constructors

GoldenTestImages({required TestDeviceInfo deviceInfo, Map<String, String>? goldenHashes, String? id, String? suiteName, required String testName, required int testVersion, DateTime? timestamp})

Properties

deviceInfo TestDeviceInfo
final
goldenHashes Map<String, String>?
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 ==(dynamic other) bool
The equality operator.
override

Static Methods

createId({required TestDeviceInfo deviceInfo, String? suiteName, required String testName}) String
createIdFromReport(TestReport report) String
fromDynamic(dynamic map) GoldenTestImages?
fromTestReport(TestReport report) GoldenTestImages