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