ClassType class Null safety

Class introspection information for TypeMacros.

Implemented types
Implementers
Available Extensions

Constructors

ClassType()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isAbstract bool
read-only, inherited
isExternal bool
read-only, inherited
isNullable bool
Whether or not the type reference is explicitly nullable (contains a trailing ?)
read-only, inherited
name String
The name of the type as it exists in the type annotation.
read-only, inherited
reference Code
Emits a piece of code that concretely refers to the same type that is referred to by this, regardless of where in the program it is placed. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope Scope
The scope in which the type reference appeared in the program.
read-only, inherited
superclass TypeReference?
read-only
superinterfaces Iterable<TypeReference>
read-only
typeArguments Iterable<TypeReference>
The type arguments, if applicable.
read-only, inherited

Methods

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

Operators

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