Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

With ASP, the same behavior is reduced to:

final myReactiveList = <String>[].createAtom();
myReactiveList.add('Pedro Lemos');

About

Atom Extensions for ASP package

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages