contextType property
InterfaceType?
contextType
getter/setter pair
The context type computed by
ResolverVisitor._computeSetOrMapContextType
.
Note that this is not the same as the context pushed down by type
inference (which can be obtained via InferenceContext.getContext
). For
example, in the following code:
var m = {};
The context pushed down by type inference is null, whereas the
contextType
is Map<dynamic, dynamic>
.
Implementation
InterfaceType? contextType;