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