writeStream method

Future<File> writeStream(
  1. Stream<List<int>> stream
)

Write the content of stream to this file, creating the parent directory if missing. See streamToFile.

Implementation

Future<File> writeStream(Stream<List<int>> stream) =>
    streamToFile(stream, this);