mount method

void Function() mount(
  1. Atom atom
)

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