isError property

bool get isError

Checks if the current state is Error.

Implementation

bool get isError => value.isError;