blackbox 0.10.0
blackbox: ^0.10.0 copied to clipboard
State management with one law: output = compute(input, state). Boxes with private memory, an explicit dependency graph you can render as a map, built-in persistence and caching. No code generation.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add blackboxThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
blackbox: ^0.10.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:blackbox/blackbox.dart';