EnumDeclarationNode class

An enum declaration (enum Foo { a, b; void bar() {} }).

Inheritance

Constructors

EnumDeclarationNode({required String name, List<TypeParameterNode> typeParameters = const [], List<TypeNode> mixins = const [], List<TypeNode> interfaces = const [], List<EnumConstantNode> constants = const [], List<DeclarationNode> members = const []})
const

Properties

constants → List<EnumConstantNode>
final
hashCode → int
The hash code for this object.
no setterinherited
interfaces → List<TypeNode>
final
members → List<DeclarationNode>
final
mixins → List<TypeNode>
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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