init static method
Initializes file storage directories.
Implementation
static Future<void> init() async {
if (!kIsWeb) {
_directory = await getApplicationDocumentsDirectory();
_bigFilesDirectory = Directory("${_directory.path}/big_files");
if (!_bigFilesDirectory.existsSync()) {
await _bigFilesDirectory.create(recursive: true);
}
}
}