isInErrorState property
bool
get
isInErrorState
ChangeNotifier had an error see getErrorMessage to get the accompanying error message
Implementation
bool get isInErrorState => _state == WidgetState.error;