WsFrame constructor

const WsFrame(
  1. WsControl type,
  2. Map<String, dynamic> payload
)

Implementation

const WsFrame(this.type, this.payload);