ClassStmt class

Inheritance

Constructors

ClassStmt(String name, Expression? parent, List<ClassField> fields, List<ClassGetter> getters, Constructor? constructorMethod, List<ClassMethod> methods, {List<TypeParameter> typeParameters = const []})

Properties

constructorMethod ↔ Constructor?
getter/setter pair
fields ↔ List<ClassField>
getter/setter pair
getters ↔ List<ClassGetter>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
methods ↔ List<ClassMethod>
getter/setter pair
modifiers ↔ List<StmtModifier>
getter/setter pairinherited
name ↔ String
getter/setter pair
parent ↔ Expression?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceReference ↔ SourceReference?
getter/setter pairinherited
typeParameters → List<TypeParameter>
final

Methods

hasModifier(StmtModifier modifier) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
visitStatement<R, C>(StatementVisitor<R, C> visitor, C context) → R
override

Operators

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