Last updated:
0 purchases
atom extensions
Atom Extensions #
This package is meant to be a helper for ASP (Atomic State Pattern) in Dart.
Since ASP package deprecated RxList, RxSet and RxMap classes, this package aims to simplify the usage of collections in ASP.
For example, without Atom Extensions, you would write:
final myReactiveList = Atom<List<String>>([]);
final newList = myReactiveList.value;
newList.add('Pedro Lemos');
myReactiveList.setValue(newList);
copied to clipboard
With ASP, the same behavior is reduced to:
final myReactiveList = <String>[].createAtom();
myReactiveList.add('Pedro Lemos');
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.