send method

  1. @override
Future<void> send(
  1. Uint8List bytes
)
override

Send raw bytes over the connected socket.

Implementation

@override
Future<void> send(Uint8List bytes) async {
  // send raw bytes over the method channel; Kotlin will receive as byte[]
  await methodChannel.invokeMethod('send', bytes);
}