toFile method

void toFile(
  1. String filename,
  2. String? content, {
  3. DateTime? date,
  4. String? dateAsString,
  5. bool asTransaction = false,
  6. bool inline = false,
  7. int? mode,
  8. bool createDirectory = false,
})

Implementation

void toFile(String filename, String? content,
    {DateTime? date,
    String? dateAsString,
    bool asTransaction = false,
    bool inline = false,
    int? mode,
    bool createDirectory = false}) {
  throw UnsupportedError('FileSync.toFile()');
}