isError property

bool get isError

Checks if the status indicates that the state has encountered an error.

Implementation

bool get isError => this is ErrorStatus;