send method

void send(
  1. dynamic data
)

Implementation

void send(dynamic data) async {
  throw Exception('To use sockets you need dart:io or dart:html');
}