ContentDispositionHeader.attachment constructor
ContentDispositionHeader.attachment({})
Convenience method to create a Content-Disposition: attachment header
Implementation
ContentDispositionHeader.attachment({
String? filename,
DateTime? creationDate,
DateTime? modificationDate,
DateTime? readDate,
int? size,
}) : this.from(
ContentDisposition.attachment,
filename: filename,
creationDate: creationDate,
modificationDate: modificationDate,
readDate: readDate,
size: size,
);