viewModel property

T viewModel

Returns the ViewModel subclass bound to this ViewWidget.

Implementation

T get viewModel => _stateInstance.value._viewModel;