Testable constructor

Testable({
  1. required String absolute,
  2. required String optimizedPath,
})

Implementation

Testable({
  required this.absolute,
  required this.optimizedPath,
})  : fileName = path.basenameWithoutExtension(absolute),
      relativeToOptimized =
          path.relative(absolute, from: path.dirname(optimizedPath));