Feature enum

Feature flags for project scaffolding.

Pass a Set<Feature> to CreateCommandConstants.directories and CreateCommandConstants.files to control what is generated beyond the minimal base scaffold.

  • Feature.auth — JWT authentication: AuthController, AuthService, login DTO, token model, JWT env vars, auth service tests.
  • Feature.db — Database layer: user/product CRUD (controller → service → repository pattern), SQL migrations, in-memory and DB-backed repositories.
  • Feature.files — File upload: FilesController (multipart POST + GET listing, background task).
  • Feature.ws — WebSocket: WsController echo-chat at /ws/chat.
Inheritance
Available extensions

Values

auth → const Feature
db → const Feature
files → const Feature
ws → const Feature

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Feature>
A constant List of the values in this enum, in order of their declaration.