dispose method

void dispose()

Implementation

void dispose() {
  throw 'To use sockets you need dart:io or dart:html';
}