writeTo method Null safety

Future<File> writeTo(
  1. String path,
  2. {Encoding encoding = utf8}
)
override

Writes the contents of the file to file at path

Implementation

Future<File> writeTo(String path, {Encoding encoding = utf8}) =>
    values.first.writeTo(path, encoding: encoding);