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