BrowserTransportPlatformWithSockJS constructor

const BrowserTransportPlatformWithSockJS({
  1. bool? sockJSNoCredentials,
  2. bool? sockJSDebug,
  3. List<String>? sockJSProtocolsWhitelist,
  4. Duration? sockJSTimeout,
})

Implementation

const BrowserTransportPlatformWithSockJS(
    {bool? sockJSNoCredentials,
    bool? sockJSDebug,
    List<String>? sockJSProtocolsWhitelist,
    Duration? sockJSTimeout})
    : _sockJSDebug = sockJSDebug ?? false,
      _sockJSProtocolsWhitelist = sockJSProtocolsWhitelist,
      _sockJSNoCredentials = sockJSNoCredentials ?? false,
      _sockJSTimeout = sockJSTimeout;