appDir property

Future<Directory?> get appDir

Implementation

static Future<Directory?> get appDir async {
  if (kIsWeb) return null;

  return await getApplicationDocumentsDirectory();
}