dispose method

void dispose()

Implementation

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