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