writeFile static method

Future<File> writeFile(
  1. File file,
  2. String content
)

Write the file

Implementation

static Future<File> writeFile(File file, String content) =>
    file.writeAsString(content, flush: true);