BinaryType class

An enum for choosing what type HtmlWebSocketChannel emits for binary messages.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the binary type, which matches its variable name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value as understood by the underlying WebSocket API.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

blob → const BinaryType
Tells the channel to emit binary messages as Blobs.
list → const BinaryType
Tells the channel to emit binary messages as Uint8Lists.