Class class

Represents a Class See https://dart.dev/guides/language/language-tour#classes

Inheritance

Constructors

Class(String name, {List<DocComment>? docComments, List<Annotation>? annotations, bool? abstract, Type? superClass, List<Type>? implements, List<Type>? mixins, List<Field>? fields, List<Constructor>? constructors, List<Method>? methods})

Properties

abstract bool?
final
annotations List<Annotation>?
final
constructors List<Constructor>?
final
docComments List<DocComment>?
final
fields List<Field>?
final
hashCode int
The hash code for this object.
no setterinherited
implements List<Type>?
final
methods List<Method>?
final
mixins List<Type>?
final
name IdentifierStartingWithUpperCase
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superClass Type?
final

Methods

codeNodes(Context context) List<CodeNode>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toUnFormattedString(Context context) String
Recursive call to get the unformatted code from all nodes
inherited

Operators

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