arc-arnob / clean_code_architecture_tdd_bloc

This Github repository contains a project that demonstrates how to implement a clean code architecture in Flutter using the Business Logic Component (BloC) pattern and a Test-Driven Development (TDD) approach.
2 stars 3 forks source link

How is the method being called since the NumberTriviaRepository that is imported is just an abstract class whose implementation is in /features/number_trivia/data/repositories/number_trivia_repository_impl.dart #15

Open arc-arnob opened 1 year ago

arc-arnob commented 1 year ago

https://github.com/arc-arnob/clean_code_architecture_tdd_bloc/blob/a298ff8ee144d30007f18e243b8e0afc5d13cfd6/lib/features/number_trivia/domain/usecases/get_concrete_number_trivia.dart#L16

arc-arnob commented 1 year ago

Stackoverflow: https://stackoverflow.com/questions/76136302/how-is-a-method-getting-is-called-by-an-instance-of-its-abstract-class-ive-att