getMovieDetails method
- int movieId
Gets detailed information about a specific movie.
Implementation
Future<Movie> getMovieDetails(int movieId) async {
await _ensureClientInitialized();
final data = await _client!.getJson('movie/$movieId');
return Movie.fromJson(data);
}