injectable
injectable copied to clipboard
Need to inject Abstract classes
abstract class StarWarsRepository { /// Handling Functional error operation using Either while collecting the movies data from local storage Future<Either<Failure, StarWarMoviesModel>> collectMoviesListFromLocal();
/// Handling Functional error operation using Either while collecting the movies data from API Future<Either<Failure, StarWarMoviesModel>> collectMoviesListFromAPI(String url); }
This is my abstract class and need to inject and use this in my DI