events top-level property

List events
getter/setter pair

all possible socket events

Implementation

List events = [
  'error',
  'connect',
  'disconnect',
  'newListener',
  'removeListener'
];