configurable/example/example.dart
Sambo Chea 33b6355bcf Add configurable with functions
Add more tests for call functions and fixed
2021-03-24 14:10:25 +07:00

15 lines
393 B
Dart

import 'package:configurable/dotenv_configuration_provider.dart';
import 'package:configurable/simple_configuration_provider.dart';
void main() {
var key = 'app.name';
var value = 'CUBETIQ Solution';
// in-memory provider (built-in)
var simpleProvider = SimpleConfigurationProvider();
// dotenv provider (from file .env)
var dotenvProvider = DotenvConfigurationProvider();
}