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