writeLogsToFile method

Future<File> writeLogsToFile(
  1. String log
)

Writes the log-String to file

Implementation

Future<File> writeLogsToFile(String log) async {
  final file = await _localFile;

  // Write the file
  return file.writeAsString('$log');
}