input property
Stream sink used to read from the remote Bluetooth device
.onDone can be used to detect when remote device closes the connection.
You should use some encoding to receive string in your .listen callback, for example ascii.decode(data) or utf8.encode(data).
Implementation
Stream<Uint8List>? input;