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