do2configuration 0.2.1
do2configuration: ^0.2.1 copied to clipboard
configuration module
example/do2configuration.dart
// Copyright (c) 2015, Mikhail Stolyarov. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
library do2configuration.example;
import 'package:do2configuration/do2configuration.dart';
main() {
Do2Configuration config = new Do2Configuration('Demo');
print(config.name);
print(config.get('param1',defVal:'default'));
config.set('param1', 'value1');
print(config.get('param1',defVal:'default'));
}