send method

  1. @override
Future<void> send(
  1. String id,
  2. Uint8List message
)
override

Implementation

@override
Future<void> send(String id, Uint8List message) {
  return _methodChannel.invokeMethod(Constants.send, <String, dynamic>{
    Constants.port: id,
    Constants.data: message,
  });
}