WebSocketMessage.binary constructor
WebSocketMessage.binary(})
Creates a binary message.
Implementation
WebSocketMessage.binary(
List<int> bytes, {
DateTime? timestamp,
String? id,
bool requiresAck = false,
}) : this(
data: bytes,
type: 'binary',
timestamp: timestamp,
id: id,
requiresAck: requiresAck,
);