writeStdin method
Writes data to the remote standard input.
When onFlushed is supplied it reports the cumulative bytes of data put
on the wire as send credit allows — see Channel.sendStdin.
Implementation
void writeStdin(List<int> data, {void Function(int sentSoFar)? onFlushed}) =>
_channel.sendStdin(data, onFlushed: onFlushed);