HttpGetResponse class

Basic implementation of a FileServiceResponse for http requests.

Implemented types

Constructors

HttpGetResponse(StreamedResponse _response)

Properties

content Stream<List<int>>
content is a stream of bytes
read-only, override
contentLength int
contentLength is the total size of the content. If the size is not known beforehand contentLength is null.
read-only, override
eTag String
eTag is used when asking to update the cache
read-only, override
fileExtension String
Used to save the file on the storage, includes a dot. For example '.jpeg'
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusCode int
statusCode is expected to conform to an http status code.
read-only, override
validTill DateTime
Defines till when the cache should be assumed to be valid.
read-only, override

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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