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