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