Class class abstract
- Implemented types
- Annotations
-
- @immutable
Constructors
- Class([void updates(ClassBuilder)])
-
factory
Properties
- abstract → bool
-
Whether the class is
abstract
.no setter -
annotations
→ BuiltList<
Expression> -
Annotations as metadata on the node.
no setter
-
constructors
→ BuiltList<
Constructor> -
no setter
-
docs
→ BuiltList<
String> -
Dart docs.
no setter
- extend → Reference?
-
no setter
-
fields
→ BuiltList<
Field> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
implements
→ BuiltList<
Reference> -
no setter
-
methods
→ BuiltList<
Method> -
no setter
- mixin → bool
-
Whether the class is a
mixin class
.no setter -
mixins
→ BuiltList<
Reference> -
no setter
- modifier → ClassModifier?
-
The class modifier, i.e.
base
,final
,interface
.no setter - name → String
-
Name of the class.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sealed → bool
-
Whether the class is
sealed
.no setter -
types
→ BuiltList<
Reference> -
Generic type parameters.
no setter
Methods
-
accept<
R> (SpecVisitor< R> visitor, [R? context]) → R -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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 -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited