FileContentSource constructor
Creates a source for file; name defaults to the file name.
Implementation
FileContentSource(this.file, {String? name, this.contentType})
: name = name ?? file.uri.pathSegments.last,
length = file.lengthSync();
Creates a source for file; name defaults to the file name.
FileContentSource(this.file, {String? name, this.contentType})
: name = name ?? file.uri.pathSegments.last,
length = file.lengthSync();