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