instance property

AudioChatPlatform get instance

The default instance of AudioChatPlatform to use.

Defaults to MethodChannelAudioChat.

Implementation

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

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

Implementation

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