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