refactoring
security update
This commit is contained in:
parent
1747ab0245
commit
78fe9e7b09
39 changed files with 289 additions and 132 deletions
12
lib/env/env.dart
vendored
Normal file
12
lib/env/env.dart
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
import 'package:envied/envied.dart';
|
||||
|
||||
part 'env.g.dart';
|
||||
|
||||
@Envied()
|
||||
abstract class Env {
|
||||
@EnviedField(
|
||||
varName: 'UNSPLASH_API_KEY',
|
||||
defaultValue: '',
|
||||
)
|
||||
static const unsplashApiKey = _Env.unsplashApiKey;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue