mirrored_repositories/flutter_movie/lib/features/movie/data/datasources
import 'package:dartz/dartz.dart';
import 'package:flutter_movie/features/movie/data/datasources/get_movies_datasource.dart';
import 'package:flutter_movie/features/movie/domain/entities/movie_entity.dart';

class GetMoviesDataSourceDecorator implements GetMoviesDataSource {
  final GetMoviesDataSource _getMoviesDataSource;
  GetMoviesDataSourceDecorator(this._getMoviesDataSource);

  @override
  Future<Either<Exception, MovieEntity>> call() => _getMoviesDataSource();
}
