FileResponse class

Inheritance

Constructors

FileResponse(File file, {ContentDisposition disposition = ContentDisposition.inline, String? contentType})

Properties

contentType String
finalinherited
disposition ContentDisposition
finalinherited
file File
final
fileName String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
length int?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
getter/setter pairinherited

Methods

getData() Stream<List<int>>
inherited
getHeaders() Map<String, List<String>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHttpResponse(Uri requestUrl) HttpResponse
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited