Created
January 9, 2022 10:43
-
-
Save Zujaj/b1fa352bca357d7d6d1b39668eaea590 to your computer and use it in GitHub Desktop.
An abstract class for Envify Demonstration.
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
import 'package:envify/envify.dart'; | |
part 'env.g.dart'; | |
@Envify(name: 'Secret') | |
abstract class Secret { | |
/// Holds the API_KEY. | |
static const api_key = _Secret.api_key; | |
/// Holds the SITE_KEY. | |
static const site_key = _Secret.site_key; | |
/// Holds the CLIENT_SECRET. | |
static const client_secret = _Secret.client_secret; | |
/// Holds the CLIENT_ID. | |
static const client_id = _Secret.client_id; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment