TypeCapability class

Gives support for invocation of the method reflectType on reflectors, and for invocation of the method type on instances of InstanceMirror and ParameterMirror as well as the method returnType on instances of MethodMirror.

Note that without this, there is no need to support any kind of reflective operations producing mirrors of source code entities (that is, instances of ClassMirror, MethodMirror, DeclarationMirror, LibraryMirror, LibraryDependencyMirror, CombinatorMirror, TypeMirror, FunctionTypeMirror, TypeVariableMirror, TypedefMirror, VariableMirror, and ParameterMirror), which may reduce the space consumption significantly because the generation of those classes can be avoided entirely.

Implemented types
Implementers

Constructors

TypeCapability()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited