added more blocs
This commit is contained in:
1 parent
3610c466d2
commit
c5ede79dc4
32 files changed
+668
-429
No files matched your search
@@ -13,6 +13,11 @@ class StorageClient {
|
||||
return file.readAsString();
|
||||
}
|
||||
|
||||
delete(String filename) async {
|
||||
File file = await _getJson(filename);
|
||||
await file.delete();
|
||||
}
|
||||
|
||||
Future<File> _getJson(String filename) async {
|
||||
final dir = await getApplicationDocumentsDirectory();
|
||||
final file = File('${dir.path}/$filename');
|
||||
|
||||
Reference in new issue
Block a user