COSClient class

Available extensions

Constructors

COSClient({required COSConfig config, Level? loggerLevel})
COS 客户端 config 全局配置 loggerLevel 日志等级

Properties

config COSConfig
final
fetch COSFetch
请求实例,一般情况下使用 send 方法, 如有特殊逻辑可使用 fetch 对象
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
memoryCache MemoryCache
缓存工具实例
getter/setter pair
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
send<T>(COSFetchConfig fetchConfig) Future<T>
发送请求 fetchConfig 请求配置
toString() String
A string representation of this object.
inherited

Operators

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