canShareMovieList method
Validates that a MovieList exists and can be shared.
Implementation
Future<bool> canShareMovieList(String movieListId) async {
try {
final loggedIn = await isLoggedIn();
if (!loggedIn) {
debugPrint('❌ User not logged in, cannot share movie list');
return false;
}
final movieList = await getMovieList(movieListId);
return movieList != null;
} catch (e) {
debugPrint('❌ Error checking if movie list can be shared: $e');
return false;
}
}