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