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