As we know, there is a getApplicationDocumentsDirectory() function that returns a Future<Directory> in package path_provider.
But now I want to init a static variable through it:
class Settings {
static final Directory rootDirectory = /*The documents directory*/;
}
I can't use await here. How can I do?