void close([int? status, String? reason]) { throw Exception('To use sockets you need dart:io or dart:html'); }