DatedFile copyWith({ File? file, int? date, }) => DatedFile( file: file ?? this.file, date: date ?? this.date, );