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