Created
August 30, 2019 03:18
-
-
Save datvtwkm/0460f9b7fc5c1226c664b419c2a92dd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Env { | |
final String secret; | |
Env(this.secret); | |
} | |
class EnvValue { | |
static final Env development = Env('development secret'); | |
static final Env staging = Env('staging secret'); | |
static final Env production = Env('production secret'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment