toString method
Returns a string representation of this object.
Implementation
String toString() {
return const [
'RawSocketEvent:READ',
'RawSocketEvent:WRITE',
'RawSocketEvent:READ_CLOSED',
'RawSocketEvent:CLOSED'
][_value];
}