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