instance property

SdkRtcFlutterPlatform get instance

The default instance of SdkRtcFlutterPlatform to use.

Defaults to MethodChannelSdkRtcFlutter.

Implementation

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

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

Implementation

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