TestImage constructor
TestImage({})
Implementation
TestImage({
int? captureTime,
required this.goldenCompatible,
String? hash,
required this.id,
Uint8List? image,
}) : captureTime = captureTime ?? DateTime.now().millisecondsSinceEpoch,
hash = hash ??
hex.encode(
SHA256Digest().process(image ?? Uint8List(0)),
),
image = image;