GetObjectResponse class

Constructors

GetObjectResponse({required int statusCode, Uint8List? body, String? cacheControl, int? contentLength, String? contentRange, String? contentType, String? eTag, DateTime? lastModified})

Properties

body Uint8List?
The bytes of the object.
final
cacheControl String?
An optional CacheControl header that allows the caller to control the object's cache behavior. Headers can be passed in as specified in the HTTP spec at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.
final
contentLength int?
The length of the object in bytes.
final
contentRange String?
The range of bytes to retrieve.
final
contentType String?
The content type of the object.
final
eTag String?
The ETag that represents a unique instance of the object.
final
hashCode int
The hash code for this object.
no setterinherited
lastModified DateTime?
The date and time that the object was last modified.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The HTML status code of the request. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.
final

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