ClassDeclaration class Null safety

Class introspection information for DeclarationMacros.

Implemented types
Implementers
Available Extensions

Constructors

ClassDeclaration()

Properties

constructors Iterable<MethodDeclaration>
read-only
fields Iterable<FieldDeclaration>
read-only
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
methods Iterable<MethodDeclaration>
read-only
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 ClassDeclaration?
read-only, override
superinterfaces Iterable<TypeDeclaration>
read-only, override
typeArguments Iterable<TypeDeclaration>
The type arguments, if applicable.
read-only, inherited
typeParameters Iterable<TypeParameterDeclaration>
read-only, inherited

Methods

isSubtype(TypeDeclaration other) bool
inherited
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