computed<T extends Object?> function
Create an instance of Atom from the result of invoking computation
.
Implementation
Atom<T> computed<T extends Object?>(T Function() computation) {
return _ComputedAtom(computation);
}