dart:io
RawSocketEvent class
Events for the RawSocket.
These event objects are used by the Stream behavior of RawSocket (for example RawSocket.listen, RawSocket.forEach) when the socket's state change.
Properties
- hashCode → int
read-only, inherited
- The hash code for this object.
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- noSuchMethod(Invocation invocation) → dynamic
inherited
- Invoked when a non-existent method or property is accessed.
- toString() → String
override
- A string representation of this object.
Operators
- operator ==(Object other) → bool
inherited
- The equality operator.
Constants
- closed → const RawSocketEvent
- An event indicates the socket is closed.
const RawSocketEvent._(3)
- read → const RawSocketEvent
- An event indicates the socket is ready to be read.
const RawSocketEvent._(0)
- readClosed → const RawSocketEvent
- An event indicates the reading from the socket is closed
const RawSocketEvent._(2)
- write → const RawSocketEvent
- An event indicates the socket is ready to write.
const RawSocketEvent._(1)