79405044

Date: 2025-02-01 13:25:55
Score: 1
Natty:
Report link

It is called type inference in the Dart language.

What’s happening here is that the analyzer can infer the type of the generic based on the parameter type.

You can find more examples and explanations about it here:
https://dart.dev/language/type-system#type-inference

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Reza Farjam