doWriteAsString method
Write String
Implementation
Future<FileMixin> doWriteAsString(String contents,
{FileMode mode = FileMode.write,
Encoding encoding = utf8,
bool flush = false}) =>
doWriteAsBytes(encoding.encode(contents), mode: mode, flush: flush);