SEnumDeclaration constructor

SEnumDeclaration({
  1. required int offset,
  2. required int length,
  3. SSimpleIdentifier? name,
  4. List<SAnnotation> metadata = const [],
  5. STypeParameterList? typeParameters,
  6. SImplementsClause? implementsClause,
  7. SWithClause? withClause,
  8. List<SEnumConstantDeclaration> constants = const [],
  9. 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 [],
});