storagebox 0.1.0 storagebox: ^0.1.0 copied to clipboard
Easily store configuration keys and values for your CLI and web apps.
📦 StorageBox
Easily store and persist configuration items for your Dart CLI and Web apps.About #
TODO description/about
Example:
import 'package:storagebox/storagebox.dart';
Future<void> main() async {
final config = StorageBox('my_awesome_cli');
config['foo'] = 'bar';
print(config['foo']);
config['bar'] = 'foo';
print(config['bar']);
// Config is a Map so Map methods can be used;
config.forEach((key, value) {
print('$key : $value');
});
print(config.containsKey('foo'));
print(config.remove('bar'));
}
Built and maintained by Invertase.