appendString method
Appends a string
to the end of this file using the specified encoding
.
Implementation
Future<void> appendString(
String string, {
Encoding encoding = utf8,
bool flush = true,
}) async {
await writeAsString(
string,
mode: FileMode.writeOnlyAppend,
flush: flush,
encoding: encoding,
);
}