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数据库,导致应用存储空间占用比较大。