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