writeToFile method

Future<File> writeToFile(
  1. String content,
  2. String path
)

Implementation

Future<File> writeToFile(String content, String path) =>
    File(path).writeAsString(content);