We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66425ea commit 7047fddCopy full SHA for 7047fdd
lib/config/env.dart
@@ -28,6 +28,30 @@ abstract class Env {
28
static bool get isLocal => environment == kEnvironment.local;
29
30
31
+ static String get idLocalBecomesDev
32
+ {
33
+ return switch (environment)
34
35
+ kEnvironment.prod => 'prod',
36
+ kEnvironment.stage => 'stage',
37
+ kEnvironment.dev => 'dev',
38
+ kEnvironment.local => 'dev',
39
+ };
40
+ }
41
+
42
43
+ static String get id
44
45
46
47
48
49
50
+ kEnvironment.local => 'local',
51
52
53
54
55
static String chooseString({
56
required String prod,
57
required String stage,
0 commit comments