Atom<T, A> constructor
Atom<T, A> ({})
Implementation
Atom({required this.key, required T initialState, this.storage, required this.reducer}) {
valueNotifier = ValueNotifier(storage != null ? storage!.get<T>(key) ?? initialState : initialState);
atoms.add(this);
}