The error is because you explicitly stated the gen...
# getting-started
m
The error is because you explicitly stated the generic parameters of collect to
<List<Question>, Any>
, but
toList<Question>
doesn't return that.