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