WorkConfig class

Work库全局网络客户端配置

Constructors

WorkConfig({required Dio dio, WorkRequest workRequest = request.workRequest})

Properties

dio Dio
全局使用的默认网络访问器实例
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
workRequest WorkRequest
全局实际执行网络请求的方法
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