ClassDeclarationNode class
A class declaration.
- Inheritance
-
- Object
- DartNode
- DeclarationNode
- ClassDeclarationNode
Constructors
-
ClassDeclarationNode({required String name, List<
String> modifiers = const [], List<TypeParameterNode> typeParameters = const [], TypeNode? superclass, List<TypeNode> mixins = const [], List<TypeNode> interfaces = const [], List<DeclarationNode> members = const []}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaces
→ List<
TypeNode> -
final
-
members
→ List<
DeclarationNode> -
final
-
mixins
→ List<
TypeNode> -
final
-
modifiers
→ List<
String> -
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superclass → TypeNode?
-
final
-
typeParameters
→ List<
TypeParameterNode> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited