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