authenticateViaJwt method Null safety

void authenticateViaJwt(
  1. String? jwt
)

Attempts to authenticate a WebSocket, using a valid JWT.

Implementation

void authenticateViaJwt(String? jwt) {
  sendAction(WebSocketAction(
    eventName: authenticateAction,
    params: {
      'query': {'jwt': jwt}
    },
  ));
}