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