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