instance property

FileAudioPlatform get instance

The default instance of FileAudioPlatform to use.

Defaults to MethodChannelFileAudio.

Implementation

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

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

Implementation

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