PutOptions class

Constructors

PutOptions({String? key, String? mimeType, bool forceBySingle = false, int partSize = 4, int maxPartsRequestNumber = 5, Map<String, String>? customVars, PutController? controller})
const

Properties

controller PutController?
控制器
final
customVars Map<String, String>?
自定义变量,key 必须以 x: 开始
final
forceBySingle bool
强制使用单文件上传,不使用分片,默认值 false
final
hashCode int
The hash code for this object.
no setterinherited
key String?
资源名
final
maxPartsRequestNumber int
并发上传的队列长度,默认值为 5
final
mimeType String?
mimeType
final
partSize int
使用分片上传时的分片大小,默认值 4,单位为 MB
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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