write static method

Future<File> write(
  1. String fileName,
  2. String content
)

Write the file

Implementation

static Future<File> write(String fileName, String content) async {
  final file = await get(fileName);
  return writeFile(file, content);
}