instance property

AzureSttPlatform get instance

The default instance of AzureSttPlatform to use.

Defaults to MethodChannelAzureStt.

Implementation

static AzureSttPlatform get instance => _instance;
set instance (AzureSttPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends AzureSttPlatform when they register themselves.

Implementation

static set instance(AzureSttPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}