Class class

Implemented types
Annotations
  • @immutable

Constructors

Class([void updates(ClassBuilder)])
factory

Properties

abstract bool
Whether the class is abstract.
read-only
annotations BuiltList<Expression>
Annotations as metadata on the node.
read-only
constructors BuiltList<Constructor>
read-only
docs BuiltList<String>
Dart docs.
read-only
extend Reference
@nullable, read-only
fields BuiltList<Field>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
implements BuiltList<Reference>
read-only
methods BuiltList<Method>
read-only
mixins BuiltList<Reference>
read-only
name String
Name of the class.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
types BuiltList<Reference>
Generic type parameters.
read-only

Methods

accept<R>(SpecVisitor<R> visitor, [R context]) → R
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(ClassBuilder)) Class
Rebuilds the instance. [...]
inherited
toBuilder() ClassBuilder
Converts the instance to a builder B. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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