path property

Future<String?> get path

Implementation

static Future<String?> get path async
{
  // initialize the app root folder
  if (isWeb) return null;
  if (isMobile || (isDesktop && useragent == "macos")) return (await getApplicationDocumentsDirectory()).path;
  return dirname(io.Platform.resolvedExecutable);
}