RxNetConfig class
Constructors
-
RxNetConfig({required String baseUrl, NetworkAdapter? adapter, AdapterBaseOptions? adapterBaseOptions, String? cachePath, String cacheName = 'network_cache', String databaseName = 'rxnet_cache.db', CacheMode cacheMode = CacheMode.ONLY_REQUEST, List<AdapterInterceptor>? interceptors, bool systemLog = false, bool isDebug = false, CheckNetWork? baseCheckNet, List<String>? ignoreCacheKeys, Map<String, dynamic>? baseUrlEnv, int cacheInvalidationTime = _defaultCacheInvalidationTime, int cacheMaxSize = 0, CacheEvictionPolicy cacheEvictionPolicy = CacheEvictionPolicy.none, double debugWindowWidth = 800, double debugWindowHeight = 600})
-
const
Methods
-
copyWith({String? baseUrl, NetworkAdapter? adapter, AdapterBaseOptions? adapterBaseOptions, String? cachePath, String? cacheName, String? databaseName, CacheMode? cacheMode, List<AdapterInterceptor>? interceptors, bool? systemLog, bool? isDebug, CheckNetWork? baseCheckNet, List<String>? ignoreCacheKeys, Map<String, dynamic>? baseUrlEnv, int? cacheInvalidationTime, int? cacheMaxSize, CacheEvictionPolicy? cacheEvictionPolicy, double? debugWindowWidth, double? debugWindowHeight, bool clearAdapter = false, bool clearAdapterBaseOptions = false, bool clearCachePath = false, bool clearInterceptors = false, bool clearBaseCheckNet = false, bool clearIgnoreCacheKeys = false, bool clearBaseUrlEnv = false})
→ RxNetConfig
-
复制并修改配置
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
override