writeString function
Write a file string context. Does not fail
Implementation
Future<File> writeString(File file, String content,
{Encoding encoding = utf8}) async {
return fs.unwrapIoFile(
await fs.writeString(fs.wrapIoFile(file), content, encoding: encoding));
}