Content class

Constructors

Content.new({required String key, required String lastModified, required String eTag, required int size, required Owner owner, required String storageClass})

Properties

eTag String
对象的实体标签(Entity Tag),是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化, 例如“8e0b617ca298a564c3331da28dcb50df”,此头部并不一定返回对象的 MD5 值,而是根据对象上传和加密方式而有所不同
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key String
对象键
getter/setter pair
lastModified String
对象最后修改时间,为 ISO8601 格式,如2019-05-24T10:56:40Z
getter/setter pair
owner Owner
对象持有者信息
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
对象大小,单位为 Byte
getter/setter pair
storageClass String
对象存储类型
getter/setter pair

Methods

encode() Object
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

Static Methods

decode(Object result) Content