send abstract method

Future<void> send(
  1. Object data
)

data: the content. Either a string (json) or Uint8List (binary)

Implementation

Future<void> send(Object data);