writeLines function
Write lines content. Does not fail
Uses CR/LF if useCrLf
is true or if null and on windows
Implementation
Future<File> writeLines(File file, List<String> lines,
{Encoding encoding = utf8, bool? useCrLf}) async {
return fs.unwrapIoFile(await fs.writeLines(fs.wrapIoFile(file), lines,
encoding: encoding, useCrLf: useCrLf));
}