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