Source
Future<File> safeWriteAsBytes(File targetFile, List<int> content, {bool verifyJson : false}) async { return _safeWriteBase( targetFile, content, (File f, content) => f.writeAsBytes(content, flush: true), verifyJson: verifyJson); }
Future<File> safeWriteAsBytes(File targetFile, List<int> content, {bool verifyJson : false}) async { return _safeWriteBase( targetFile, content, (File f, content) => f.writeAsBytes(content, flush: true), verifyJson: verifyJson); }