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