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