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