skip to Main Content

Flutter records return type issue

This is the error I am currently dealing with: A value of type '(Null, List<BoatModel>)' can't be returned from the method 'getBoatsFromOwnership' because it has a return type of 'Future<(Failure?, List<Boat>?)>'. related to this code: @override Future<(Failure?, List<Boat>?)> getBoatsFromOwnership(User user)…

VIEW QUESTION
Back To Top
Search