mount method
Listen to an atom
, but don't register a handler function.
Returns a function which 'unmounts' the atom
.
Implementation
void Function() mount(Atom atom) =>
subscribe(atom, (_) {}, fireImmediately: true);
Listen to an atom
, but don't register a handler function.
Returns a function which 'unmounts' the atom
.
void Function() mount(Atom atom) =>
subscribe(atom, (_) {}, fireImmediately: true);