getParentViewModel<T> function
EXPERIMENTAL: Returns the ViewModel provided above this widget in the tree
Implementation
T getParentViewModel<T>(BuildContext context, {bool listen = true}) =>
Provider.of<T>(context, listen: listen);