type property

Resolve the referenced type with getType.

Will throw a StateError if this was defined in a context without type resolution (verifiable via hasResolver).

See TypeResolver for mor details on type resolution.

Implementation

TypeDefinition? get type => getType(name);