UnifiedDiffHeader.traditional constructor

const UnifiedDiffHeader.traditional({
  1. required String sourcePath,
  2. required DateTime sourceModificationTime,
  3. required String targetPath,
  4. required DateTime targetModificationTime,
})

Create a traditional UnifiedDiffHeader including the sourcePath and sourceModificationTime of the source file, and the targetPath and targetModificationTime of the target file.

Implementation

const factory UnifiedDiffHeader.traditional({
  required final String sourcePath,
  required final DateTime sourceModificationTime,
  required final String targetPath,
  required final DateTime targetModificationTime,
}) = _TraditionalUnifiedDiffHeader;