writeString method
Write content to a file as String. File will be created if it doesn't exist.
Implementation
Future<void> writeString(String path, String content,
{bool rewrite = true}) async =>
await writeStringToFile(path.replaceSeparator(), content,
rewrite: rewrite);