fix: add env file to repo.

This commit is contained in:
Aunali321 2022-10-16 23:55:09 +05:30
parent 1a97cdf91d
commit 331691cc9d
2 changed files with 10 additions and 2 deletions

3
.gitignore vendored
View File

@ -139,7 +139,6 @@ Firebase related
# Environment variables
.env
lib\utils\env_class.g.dart
/lib/utils/env_class.dart
/lib/firebase_options.dart
android/app/google-services.json
/lib/utils/env_class.g.dart

9
lib/utils/env_class.dart Normal file
View File

@ -0,0 +1,9 @@
import 'package:envied/envied.dart';
part 'env_class.g.dart';
@Envied()
abstract class Env {
@EnviedField(varName: 'sentryDSN')
static const sentryDSN = _Env.sentryDSN;
}