ComparisonResult constructor

ComparisonResult({
  1. required bool passed,
  2. required double diffPercent,
  3. String? error,
  4. Map<String, Image>? diffs,
})

Creates a new ComparisonResult for the current test.

Implementation

ComparisonResult({required this.passed, required this.diffPercent, this.error, this.diffs});