atom_extensions

Last updated:

0 purchases

atom_extensions Image
atom_extensions Images
Add to Cart

Description:

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.