FileContent constructor
FileContent(})
Create a file content of reference
and file
.
Implementation
FileContent(
this.reference,
this.file, {
String? contentType,
this.encoding = utf8,
this.contentLength,
}) : mediaType = Head.mediaTypeOf(contentType);