isFailed method
Returns true if an actionOrTypeOrList
failed with an UserException.
Example:
if (context.isFailed(MyAction)) { // Show an error message. }
Implementation
bool isFailed(Object actionOrTypeOrList) => StoreProvider.isFailed(this, actionOrTypeOrList);