isInToWatch method

Future<bool> isInToWatch(
  1. Movie movie
)

Checks if a movie is in the to-watch list.

Implementation

Future<bool> isInToWatch(Movie movie) async {
  final toWatch = await getToWatch();
  return toWatch.any((m) => m.id == movie.id);
}