Closed
Description
Due to the fact that Future.catchError
supports two kinds of callbacks, its callback parameter is typed Function
, which means it gets very limited type checking from the analyzer.
Since this is a commonly used core method, it would be nice if the analyzer had some special case logic to type check it. I'm not sure whether it should be a hint or a lint (@bwilkerson, @pq, WDYT?)