AudioStreamer constructor
AudioStreamer()
Constructs a singleton instance of AudioStreamer.
AudioStreamer is designed to work as a singleton.
Implementation
// When a second instance is created, the first instance will not be able to listen to the
// audio because it is overridden. Forcing the class to be a singleton class can prevent
// misuse of creating a second instance from a programmer.
factory AudioStreamer() => _instance ??= AudioStreamer._();