instance property

The default instance of LivespeechtotextPlatform to use.

Defaults to MethodChannelLivespeechtotext.

Implementation

static LivespeechtotextPlatform get instance => _methodChannel;
void 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;
  _eventChannel = instance;
}