error property

bool error

Implementation

bool get error => viewState == ViewModelState.error;