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