instance property

The default instance of FlutterAzureSpeechPlatform to use.

Defaults to MethodChannelFlutterAzureSpeech.

Implementation

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

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

Implementation

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