WebSocketClient.private constructor

  1. @visibleForTesting
WebSocketClient.private(
  1. MethodChannelWebSocketSupport instance
)

This constructor is only used for testing and shouldn't be accessed by users of the plugin. It may break or change at any time.

Implementation

@visibleForTesting
WebSocketClient.private(
  MethodChannelWebSocketSupport instance,
) {
  WebSocketSupportPlatform.instance = instance;
}