kv 0.0.3 copy "kv: ^0.0.3" to clipboard
kv: ^0.0.3 copied to clipboard

Another Key-Value storage for Dart.

example/main.dart

import 'package:kv/kv.dart';
import 'package:kv/storage/memory.dart';

void main() {
  var memoryStorage = KV.by(Memory());
  memoryStorage.listen("key", (newVal) {
    print('You will set: $newVal');
  });
  memoryStorage.set("key", "new value");
  print('Welcome: ${memoryStorage.get("key")}');
}
2
likes
140
points
68
downloads

Publisher

verified publisherspeedphp.com

Weekly Downloads

Another Key-Value storage for Dart.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on kv