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
no setteroverride
contentLength → int?
contentLength is the total size of the content. If the size is not known beforehand contentLength is null.
no setteroverride
eTag → String?
eTag is used when asking to update the cache
no setteroverride
fileExtension → String
Used to save the file on the storage, includes a dot. For example '.jpeg'
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
statusCode is expected to conform to an http status code.
no setteroverride
validTill → DateTime
Defines till when the cache should be assumed to be valid.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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