SEnumDeclaration constructor
SEnumDeclaration({
- required int offset,
- required int length,
- SSimpleIdentifier? name,
- List<
SAnnotation> metadata = const [], - STypeParameterList? typeParameters,
- SImplementsClause? implementsClause,
- SWithClause? withClause,
- List<
SEnumConstantDeclaration> constants = const [], - List<
SClassMember> members = const [],
Implementation
SEnumDeclaration({
required this.offset,
required this.length,
this.name,
this.metadata = const [],
this.typeParameters,
this.implementsClause,
this.withClause,
this.constants = const [],
this.members = const [],
});