BaseManager class
baseModel配置类
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
init(
{required String httpBaseUrl, HeaderDelegate? headerDelegate, int? connectTimeout, int? receiveTimeout, DioCacheConfig? cacheConfig}) → dynamic -
httpBaseUrl网络请求域名设置headerDelegate全局header请求设置connectTimeout请求超时时间 毫秒receiveTimeout响应超时时间 毫秒cacheConfig统一缓存配置,慎重使用,配置会缓存所有接口数据到sqlite数据库,导致应用存储空间占用比较大。