requiredType property
DartType?
requiredType
The required type, specified by typeArguments or inferred from the
matched value type; or null
if the node is not resolved yet.
Implementation
DartType? get requiredType;