../../../.pub-cache/hosted/pub.dev/dartssh2-2.10.0/lib/src/ssh_forward.dart:25:18: Error: Type 'Uint8' not found.
StreamConsumer<Uint8> get sink => _sinkController.sink;
^^^^^
../../../.pub-cache/hosted/pub.dev/dartssh2-2.10.0/lib/src/ssh_forward.dart:25:29: Error: The return type of the method 'SSHForwardChannel.sink' is 'StreamConsumer<invalid-type>', which does not match the return type, 'StreamSink<List<int>>', of the overridden method, 'SSHSocket.sink'.
- 'StreamConsumer' is from 'dart:async'.
- 'StreamSink' is from 'dart:async'.
- 'List' is from 'dart:core'.
Change to a subtype of 'StreamSink<List<int>>'.
StreamConsumer<Uint8> get sink => _sinkController.sink;
^
../../../.pub-cache/hosted/pub.dev/dartssh2-2.10.0/lib/src/socket/ssh_socket.dart:18:29: Context: This is the overridden method ('sink').
StreamSink<List<int>> get sink;
^
../../../.pub-cache/hosted/pub.dev/dartssh2-2.10.0/lib/src/http/http_client.dart:141:17: Error: The method 'add' isn't defined for the class 'StreamConsumer<invalid-type>'.
- 'StreamConsumer' is from 'dart:async'.
Try correcting the name to the name of an existing method, or defining a method named 'add'.
socket.sink.add(buffer.toString().codeUnits);
^^^
Process finished with exit code 254