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