GetObjectResponse class Null safety

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.
read-onlyinherited
lastModified DateTime?
The date and time that the object was last modified.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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