GoldenTestImages class

Annotations
  • @immutable

Constructors

GoldenTestImages({@required TestDeviceInfo deviceInfo, @required Map<String, String> goldenHashes, String id, @required 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. [...]
read-only, override
id → String
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
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. [...]
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({TestDeviceInfo deviceInfo, String suiteName, String testName}) → String
createIdFromReport(TestReport report) → String
fromDynamic(dynamic map) GoldenTestImages
fromTestReport(TestReport report) GoldenTestImages