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