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