writeLines method
Write lines to a file.
Implementation
Future<void> writeLines(List<String> lines,
{Encoding encoding = utf8}) async {
fs.unwrapIoFile(await fs.writeLines(fs.wrapIoFile(this), lines,
encoding: encoding, useCrLf: _useCrLf));
}