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