instance property

AudioAnalyzerPlatform get instance

The default instance of AudioAnalyzerPlatform to use.

Defaults to MethodChannelAudioAnalyzer.

Implementation

static AudioAnalyzerPlatform get instance => _instance;
set instance (AudioAnalyzerPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends AudioAnalyzerPlatform when they register themselves.

Implementation

static set instance(AudioAnalyzerPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}