mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
12 lines
334 B
Dart
12 lines
334 B
Dart
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
|
|
|
abstract class Env {
|
|
static final String pocketbaseUrl = dotenv.get('POCKETBASE_URL');
|
|
static final String username = dotenv.get('USERNAME');
|
|
static final String password = dotenv.get('PASSWORD');
|
|
|
|
static configure() async {
|
|
await dotenv.load(fileName: ".env");
|
|
}
|
|
}
|