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