viewModelProvider property

ViewModelProvider get viewModelProvider

Implementation

ViewModelProvider get viewModelProvider {
  final ViewModelStoreProvider viewModelStoreProvider =
      ViewModelStoreProvider.of(this);
  final ViewModelFactoryProvider viewModelFactoryProvider =
      ViewModelFactoryProvider.of(this);
  return ViewModelProvider(viewModelStoreProvider.viewModelStore,
      viewModelFactoryProvider.viewModelFactory);
}