WebSocketReadyState constructor

const WebSocketReadyState(
  1. int code,
  2. String name,
  3. String description
)

Creates a const WebSocketReadyState with the specified code, name and description.

Implementation

const WebSocketReadyState(this.code, this.name, this.description);