type 'Null' is not a subtype of type 'Future<Either<Failure, NumberTrivia>>' – Flutter
I was learning how to do test drive development (tdd) as well as clean code architecture on flutter and I kept getting into unfamiliar problem again and again. That is - type 'Null' is not a subtype of type 'Future<Either<Failure,…