useMount function
Flutter lifecycle hook that calls a function after the component is mounted. Use useLifecycles if you need both a mount and unmount function.
Implementation
void useMount(VoidCallback fn) {
// ignore: body_might_complete_normally_nullable
return useEffectOnce(() {
fn();
});
}