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