commandFileAppend function

void commandFileAppend(
  1. List args
)

Function of file_append command

Implementation

void commandFileAppend(List args) {
  File file = expEval(args[0]);
  dynamic content = expEval(args[1]);
  file.writeAsStringSync(content.toString(), mode: FileMode.append);
}