LiveSession.forTesting constructor

  1. @visibleForTesting
LiveSession.forTesting(
  1. WebSocketChannel ws
)

Internal constructor for testing.

Implementation

@visibleForTesting
factory LiveSession.forTesting(WebSocketChannel ws) {
  return LiveSession._(
    ws,
    uri: '',
    headers: {},
    modelString: '',
  );
}