instance property

The default instance of RemoteControlWebrtcPlatform to use.

Defaults to MethodChannelRemoteControlWebrtc.

Implementation

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

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

Implementation

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