initializePath static method
Initializes the path for the app. This is only necessary if the HomeScreen requires access to the local path, or config files.
Implementation
static Future<void> initializePath() async {
if (_pathInitialized) return;
if (OS.getOS() == OSType.web) return;
localPath = (await getApplicationDocumentsDirectory()).path;
_pathInitialized = true;
}