iOS macOS
Future<Directory?> getLibraryDirectory() async => isWeb ? null : await path.getLibraryDirectory();