instance property
DioInterceptorPlusPlatform
get
instance
The default instance of DioInterceptorPlusPlatform to use.
Defaults to MethodChannelDioInterceptorPlus.
Implementation
static DioInterceptorPlusPlatform get instance => _instance;
set
instance
(DioInterceptorPlusPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends DioInterceptorPlusPlatform when they register themselves.
Implementation
static set instance(DioInterceptorPlusPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}