instance property

TUILiveKitPlatform get instance

The default instance of TUILiveKitPlatform to use.

Defaults to MethodChannelTUILiveKit.

Implementation

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

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

Implementation

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