プロジェクトにインジェクタブルを使用しようとしていますが、コードのこの部分を試すと:
@injectable
abstract class TodoRepository {
Future<Either<Failure, DayTodosEntity>> getDayDodo(DateEntity date);
}
run build_runner
このエラーが発生した後:
[TodoRepository] is abstract and can not be registered directly!
if it has a factory or a create method annotate it with @factoryMethod
何が欠けているのか理解できません。