FileServiceResponse class abstract

Defines the interface for a get result of a FileService.

Implementers

Constructors

FileServiceResponse()

Properties

content Stream<List<int>>
content is a stream of bytes
no setter
contentLength int?
contentLength is the total size of the content. If the size is not known beforehand contentLength is null.
no setter
eTag String?
eTag is used when asking to update the cache
no setter
fileExtension String
Used to save the file on the storage, includes a dot. For example '.jpeg'
no setter
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 setter
validTill DateTime
Defines till when the cache should be assumed to be valid.
no setter

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