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