Sends a message to the sendPort.
void sendMessage(Object? value) { try { sendPort.send(MessageHubMessage(value)); } catch (error, stackTrace) { inbound.sink.addError(error, stackTrace); } }