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