viewModel method
A utility method to get the instance of the existing viewModel provided at viewModelProvider
Implementation
T viewModel(WidgetRef ref) => ref.watch(viewModelProvider());
A utility method to get the instance of the existing viewModel provided at viewModelProvider
T viewModel(WidgetRef ref) => ref.watch(viewModelProvider());