notice method
Shown in place of a file's lines.
Implementation
String notice(DiffNotice notice) => switch (notice) {
DiffNotice.binary => 'Binary file not shown',
DiffNotice.renamedWithoutChanges => 'File renamed without changes',
DiffNotice.copiedWithoutChanges => 'File copied without changes',
DiffNotice.emptyFile => 'Empty file',
DiffNotice.noContentChanges => 'No content changes',
DiffNotice.noChanges => 'No changes',
};