instance property

The default instance of WebSocketSupportPlatform to use.

Defaults to MethodChannelWebSocketSupport.

Implementation

static WebSocketSupportPlatform get instance => _instance;
void instance=(WebSocketSupportPlatform instance)

Implementation

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