createAndWriteFile static method
Implementation
static Future<File> createAndWriteFile(String filePath, content) async {
final path = await _localPath;
final file = File('$path/$filePath');
await file.writeAsBytes(content);
return file;
}
static Future<File> createAndWriteFile(String filePath, content) async {
final path = await _localPath;
final file = File('$path/$filePath');
await file.writeAsBytes(content);
return file;
}