send method

Future<void> send(
  1. Object? data
)

Implementation

Future<void> send(Object? data) {
  _bufferData(data);
  if (_transportResult == null) {
    _transportResult = Completer();
  }

  return _transportResult!.future;
}