send method

void send({
  1. required String destination,
  2. Map<String, String>? headers,
  3. String? body,
  4. Uint8List? binaryBody,
})

Implementation

void send({
  required String destination,
  Map<String, String>? headers,
  String? body,
  Uint8List? binaryBody,
}) {
  _transmit(
    command: 'SEND',
    body: body,
    binaryBody: binaryBody,
    headers: {
      ...?headers,
      'destination': destination,
    },
  );
}