instance property

AdvImageCachePlatform get instance

The default instance of AdvImageCachePlatform to use.

Defaults to MethodChannelAdvImageCache.

Implementation

static AdvImageCachePlatform get instance => _instance;
set instance (AdvImageCachePlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends AdvImageCachePlatform when they register themselves.

Implementation

static set instance(AdvImageCachePlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}