read abstract method

Future<Uint8List?> read(
  1. int maxRead
)

Reads up to maxRead bytes for the channel and returns how much was written.

Implementation

Future<Uint8List?> read(int maxRead);