dispose method

  1. @mustCallSuper
void dispose()

Disposes the images held by this ComparisonResult.

Implementation

@mustCallSuper
void dispose() {
  if (diffs == null) {
    return;
  }

  for (final MapEntry<String, Image> entry in diffs!.entries) {
    entry.value.dispose();
  }
}