writeToFile method

Future writeToFile (
  1. File file
)

Implementation

Future writeToFile(File file) {
  return _process.exitCode.then((_) => _stream.pipe(file.openWrite()));
}