initAppDocDir static method

Future<Directory?> initAppDocDir()

Implementation

static Future<Directory?> initAppDocDir() async {
  if (_appDocDir == null) {
    _appDocDir = await getApplicationDocumentsDirectory();
  }
  return _appDocDir;
}