Skip to content

Commit a6d209e

Browse files
committed
refactor: rearrange app environments enum
- Moved development env - Improved documentation
1 parent c56b6b1 commit a6d209e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/app/config/app_environment.dart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ enum AppEnvironment {
66
/// production backend services and configurations.
77
production,
88

9+
/// Represents a development environment connecting to a local API.
10+
///
11+
/// This environment is used during local development, typically connecting
12+
/// to a locally running Dart Frog backend API.
13+
development,
14+
915
/// Represents a demonstration environment with in-memory data.
1016
///
1117
/// This environment is designed for showcasing the application's user
@@ -14,10 +20,5 @@ enum AppEnvironment {
1420
/// eliminating the need for API access.
1521
demo,
1622

17-
/// Represents a development environment connecting to a local API.
18-
///
19-
/// This environment is used during local development, typically connecting
20-
/// to a locally running Dart Frog backend API.
21-
development,
2223
// Add other environments like staging, etc. as needed
2324
}

0 commit comments

Comments
 (0)