send method
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);
}
Send raw bytes over the connected socket.
@override
Future<void> send(Uint8List bytes) async {
// send raw bytes over the method channel; Kotlin will receive as byte[]
await methodChannel.invokeMethod('send', bytes);
}