2023-11-06 10:38:26 +01:00
|
|
|
import 'package:release_schedule/model/movie.dart';
|
|
|
|
|
2023-11-08 14:43:59 +01:00
|
|
|
abstract class MovieApi {
|
2023-11-11 14:50:20 +01:00
|
|
|
Future<List<MovieData>> getUpcomingMovies(DateTime startDate, [int count]);
|
2023-11-08 14:43:59 +01:00
|
|
|
Future<List<MovieData>> searchForMovies(String searchTerm);
|
|
|
|
Future<void> addMovieDetails(List<MovieData> movies);
|
2023-11-06 10:38:26 +01:00
|
|
|
}
|